PIPeer important fix!
git-svn-id: svn://db.shs.com.ru/pip@115 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -28,6 +28,11 @@
|
||||
#include "piinit.h"
|
||||
#include "pimutex.h"
|
||||
#include "piobject.h"
|
||||
#ifdef WINDOWS
|
||||
# define __THREAD_FUNC__ uint __stdcall
|
||||
#else
|
||||
# define __THREAD_FUNC__ void*
|
||||
#endif
|
||||
|
||||
typedef void (*ThreadFunc)(void * );
|
||||
|
||||
@@ -174,8 +179,8 @@ public:
|
||||
//! \}
|
||||
|
||||
protected:
|
||||
static uint __stdcall thread_function(void * t);
|
||||
static uint __stdcall thread_function_once(void * t);
|
||||
static __THREAD_FUNC__ thread_function(void * t);
|
||||
static __THREAD_FUNC__ thread_function_once(void * t);
|
||||
static int priority2System(PIThread::Priority p);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user