android bugsse

android releaselication

git-svn-id: svn://db.shs.com.ru/pip@40 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
2015-03-24 10:56:34 +00:00
parent cef64a9b80
commit 80ef9705f0
475 changed files with 6073 additions and 6029 deletions

View File

@@ -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;