git-svn-id: svn://db.shs.com.ru/pip@151 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
Pelipenko Ivan (peri4) peri4ko@yandex.ru
|
||||
Bychkov Andrey (andrey) work.a.b@yandex.ru
|
||||
Bychkov Andrey (andrey) work.a.b@yandex.ru
|
||||
|
||||
@@ -318,6 +318,8 @@ void PIThread::setPriority(PIThread::Priority prior) {
|
||||
priority_ = prior;
|
||||
#ifndef WINDOWS
|
||||
if (!running_ && (thread != 0)) return;
|
||||
policy_ = 0;
|
||||
memset(&sparam, 0, sizeof(sparam));
|
||||
pthread_getschedparam(thread, &policy_, &sparam);
|
||||
sparam.
|
||||
# ifndef LINUX
|
||||
|
||||
Reference in New Issue
Block a user