Searched refs:CURRENT_THREAD (Results 1 – 2 of 2) sorted by relevance
1661 #define CURRENT_THREAD pthread_self() macro1675 if (sl->threadid == CURRENT_THREAD) { in pthread_acquire_lock()1691 sl->threadid = CURRENT_THREAD; in pthread_acquire_lock()1713 assert(sl->threadid == CURRENT_THREAD); in pthread_release_lock()1728 if (sl->threadid == CURRENT_THREAD) { in pthread_try_lock()1743 sl->threadid = CURRENT_THREAD; in pthread_try_lock()1761 #define CURRENT_THREAD GetCurrentThreadId() macro1774 if (sl->threadid == CURRENT_THREAD) { in win32_acquire_lock()1782 sl->threadid = CURRENT_THREAD; in win32_acquire_lock()1793 assert(sl->threadid == CURRENT_THREAD); in win32_release_lock()[all …]
33 #define CURRENT_THREAD ((HANDLE) -2) macro