git-svn-id: svn://db.shs.com.ru/pip@719 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2019-02-07 15:38:38 +00:00
parent ba0ea759b8
commit dda96a9591

View File

@@ -193,7 +193,7 @@ PIThread::~PIThread() {
//piCout << pthread_join(PRIVATE->thread, 0); //piCout << pthread_join(PRIVATE->thread, 0);
piCout << "FreeRTOS can't join pthreads! waiting for stop"; piCout << "FreeRTOS can't join pthreads! waiting for stop";
stop(true); stop(true);
piCout << "stopped!" piCout << "stopped!";
#else #else
#ifndef WINDOWS #ifndef WINDOWS
# ifdef ANDROID # ifdef ANDROID
@@ -297,7 +297,7 @@ void PIThread::terminate() {
#ifdef FREERTOS #ifdef FREERTOS
piCout << "FreeRTOS can't terminate pthreads! waiting for stop"; piCout << "FreeRTOS can't terminate pthreads! waiting for stop";
stop(true); stop(true);
piCout << "stopped!" piCout << "stopped!";
#else #else
if (PRIVATE->thread == 0) return; if (PRIVATE->thread == 0) return;
UNREGISTER_THREAD(this); UNREGISTER_THREAD(this);