pthread patch, need test

git-svn-id: svn://db.shs.com.ru/pip@887 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
2020-02-26 13:07:05 +00:00
parent 3c252bbeae
commit 9b2be3333b
3 changed files with 3 additions and 7 deletions

View File

@@ -1,7 +1,3 @@
//
// Created by fomenko on 20.09.2019.
//
#ifndef PIP_TESTS_PIBLOCKINGDEQUEUE_H #ifndef PIP_TESTS_PIBLOCKINGDEQUEUE_H
#define PIP_TESTS_PIBLOCKINGDEQUEUE_H #define PIP_TESTS_PIBLOCKINGDEQUEUE_H

View File

@@ -3,7 +3,7 @@
#define PIP_VERSION_MAJOR 1 #define PIP_VERSION_MAJOR 1
#define PIP_VERSION_MINOR 12 #define PIP_VERSION_MINOR 12
#define PIP_VERSION_REVISION 0 #define PIP_VERSION_REVISION 1
#define PIP_VERSION_SUFFIX "_alpha" #define PIP_VERSION_SUFFIX "_alpha"
#endif // PIVERSION_H #endif // PIVERSION_H

View File

@@ -440,7 +440,7 @@ void PIThread::_beginThread() {
#ifndef WINDOWS #ifndef WINDOWS
# if !defined(ANDROID) && !defined(FREERTOS) # if !defined(ANDROID) && !defined(FREERTOS)
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, 0); pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, 0);
pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, 0); pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, 0);
# endif # endif
#else #else
//__PISetTimerResolution(); //__PISetTimerResolution();