test
git-svn-id: svn://db.shs.com.ru/pip@161 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -328,7 +328,7 @@ void PIThread::setPriority(PIThread::Priority prior) {
|
|||||||
__sched_priority
|
__sched_priority
|
||||||
# endif
|
# endif
|
||||||
= priority2System(priority_);
|
= priority2System(priority_);
|
||||||
pthread_setschedparam(thread, policy_, &sparam);
|
pthread_setschedparam(pthread_self(), policy_, &sparam);
|
||||||
#else
|
#else
|
||||||
if (!running_ && (thread != 0)) return;
|
if (!running_ && (thread != 0)) return;
|
||||||
SetThreadPriority(thread, priority2System(priority_));
|
SetThreadPriority(thread, priority2System(priority_));
|
||||||
|
|||||||
Reference in New Issue
Block a user