android bugsse
android releaselication git-svn-id: svn://db.shs.com.ru/pip@40 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -122,7 +122,9 @@ bool PIThread::start(int timer_delay) {
|
||||
#ifndef WINDOWS
|
||||
pthread_attr_t attr;
|
||||
pthread_attr_init(&attr);
|
||||
# ifndef ANDROID
|
||||
pthread_attr_setschedparam(&attr, &sparam);
|
||||
# endif
|
||||
if (pthread_create(&thread, &attr, thread_function, this) == 0) {
|
||||
setPriority(priority_);
|
||||
running_ = true;
|
||||
@@ -148,7 +150,9 @@ bool PIThread::startOnce() {
|
||||
#ifndef WINDOWS
|
||||
pthread_attr_t attr;
|
||||
pthread_attr_init(&attr);
|
||||
# ifndef ANDROID
|
||||
pthread_attr_setschedparam(&attr, &sparam);
|
||||
# endif
|
||||
if (pthread_create(&thread, &attr, thread_function_once, this) == 0) {
|
||||
setPriority(priority_);
|
||||
running_ = true;
|
||||
|
||||
Reference in New Issue
Block a user