BIG changes added

git-svn-id: svn://db.shs.com.ru/pip@129 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
2015-05-15 12:04:50 +00:00
parent 673a974c1e
commit b2c9023deb
3 changed files with 17 additions and 3 deletions

View File

@@ -181,10 +181,10 @@ void PIThread::terminate() {
terminating = running_ = false;
#ifndef WINDOWS
# ifdef ANDROID
pthread_kill(thread, SIGKILL);
pthread_kill(thread, SIGTERM);
# else
//pthread_kill(thread, SIGKILL);
void * ret(0);
//void * ret(0);
pthread_cancel(thread);
//pthread_join(thread, &ret);
# endif