git-svn-id: svn://db.shs.com.ru/pip@700 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -188,7 +188,7 @@ PIThread::~PIThread() {
|
||||
piMonitor.threads--;
|
||||
if (!running_ || PRIVATE->thread == 0) return;
|
||||
#ifndef WINDOWS
|
||||
# ifdef ANDROID
|
||||
# if defined(ANDROID) || defined(FREERTOS)
|
||||
pthread_kill(PRIVATE->thread, SIGTERM);
|
||||
# else
|
||||
pthread_cancel(PRIVATE->thread);
|
||||
@@ -289,7 +289,7 @@ void PIThread::terminate() {
|
||||
tid_ = -1;
|
||||
//piCout << "terminate" << PRIVATE->thread;
|
||||
#ifndef WINDOWS
|
||||
# ifdef ANDROID
|
||||
# if defined(ANDROID) || defined(FREERTOS)
|
||||
pthread_kill(PRIVATE->thread, SIGTERM);
|
||||
# else
|
||||
//pthread_kill(PRIVATE->thread, SIGKILL);
|
||||
|
||||
Reference in New Issue
Block a user