Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
azure-cloud-mining-script
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Recolic
azure-cloud-mining-script
Commits
5803c82b
There was an error fetching the commit references. Please try again later.
Commit
5803c82b
authored
7 years ago
by
Vladimir Tamara
Browse files
Options
Downloads
Patches
Plain Diff
Fixes #1467
parent
27da3b08
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xmrstak/backend/cpu/minethd.cpp
+1
-0
1 addition, 0 deletions
xmrstak/backend/cpu/minethd.cpp
with
1 addition
and
0 deletions
xmrstak/backend/cpu/minethd.cpp
+
1
−
0
View file @
5803c82b
...
@@ -95,6 +95,7 @@ bool minethd::thd_setaffinity(std::thread::native_handle_type h, uint64_t cpu_id
...
@@ -95,6 +95,7 @@ bool minethd::thd_setaffinity(std::thread::native_handle_type h, uint64_t cpu_id
return
pthread_setaffinity_np
(
h
,
sizeof
(
cpuset_t
),
&
mn
)
==
0
;
return
pthread_setaffinity_np
(
h
,
sizeof
(
cpuset_t
),
&
mn
)
==
0
;
#elif defined(__OpenBSD__)
#elif defined(__OpenBSD__)
printer
::
inst
()
->
print_msg
(
L0
,
"WARNING: thread pinning is not supported under OPENBSD."
);
printer
::
inst
()
->
print_msg
(
L0
,
"WARNING: thread pinning is not supported under OPENBSD."
);
return
true
;
#else
#else
cpu_set_t
mn
;
cpu_set_t
mn
;
CPU_ZERO
(
&
mn
);
CPU_ZERO
(
&
mn
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment