test
git-svn-id: svn://db.shs.com.ru/pip@159 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -320,7 +320,8 @@ void PIThread::setPriority(PIThread::Priority prior) {
|
|||||||
if (!running_ && (thread != 0)) return;
|
if (!running_ && (thread != 0)) return;
|
||||||
policy_ = 0;
|
policy_ = 0;
|
||||||
memset(&sparam, 0, sizeof(sparam));
|
memset(&sparam, 0, sizeof(sparam));
|
||||||
pthread_getschedparam(thread, &policy_, &sparam);
|
struct sched_param param;
|
||||||
|
pthread_getschedparam(thread, &policy_, ¶m);
|
||||||
sparam.
|
sparam.
|
||||||
# ifndef LINUX
|
# ifndef LINUX
|
||||||
sched_priority
|
sched_priority
|
||||||
|
|||||||
Reference in New Issue
Block a user