Update code of Crossplatform redefine
This commit is contained in:
@@ -18,7 +18,7 @@ namespace hgl
|
||||
#ifdef __APPLE__
|
||||
using semaphore_ptr =dispatch_semaphore_t *;
|
||||
#else
|
||||
using semaphore_ptr =sem_t;
|
||||
using semaphore_ptr =sem_t *;
|
||||
#endif//
|
||||
|
||||
using cond_var_ptr =pthread_cond_t;
|
||||
@@ -26,6 +26,6 @@ namespace hgl
|
||||
#define THREAD_FUNC void *
|
||||
#define HGL_THREAD_DETACH_SELF pthread_detach(pthread_self());
|
||||
|
||||
using proc_mutex_ptr =sem_t;
|
||||
using proc_mutex_ptr =sem_t *;
|
||||
}//namespace hgl
|
||||
#endif//HGL_POSIX_THREAD_INCLUDE
|
||||
|
Reference in New Issue
Block a user