Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
f8c93d50
Commit
f8c93d50
authored
May 12, 2016
by
Luca Boccassi
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1983 from hitstergtd/x-unused-thread
Problem: scheduling parameters unused on OSX
parents
29c8e30f
e946b0d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
thread.cpp
src/thread.cpp
+7
-5
No files found.
src/thread.cpp
View file @
f8c93d50
...
...
@@ -28,6 +28,7 @@
*/
#include "precompiled.hpp"
#include "macros.hpp"
#include "thread.hpp"
#include "err.hpp"
#include "platform.hpp"
...
...
@@ -73,6 +74,8 @@ void zmq::thread_t::stop ()
void
zmq
::
thread_t
::
setSchedulingParameters
(
int
priority_
,
int
schedulingPolicy_
)
{
// not implemented
LIBZMQ_UNUSED
(
priority_
);
LIBZMQ_UNUSED
(
schedulingPolicy_
);
}
#else
...
...
@@ -144,12 +147,11 @@ void zmq::thread_t::setSchedulingParameters(int priority_, int schedulingPolicy_
rc
=
pthread_setschedparam
(
descriptor
,
policy
,
&
param
);
posix_assert
(
rc
);
#else
LIBZMQ_UNUSED
(
priority_
);
LIBZMQ_UNUSED
(
schedulingPolicy_
);
#endif
}
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment