Home
last modified time | relevance | path

Searched refs:tl_lock_waiters (Results 1 – 3 of 3) sorted by relevance

/third_party/musl/porting/liteos_a/user/src/thread/
Dpthread_create.c20 static int tl_lock_waiters; variable
31 __wait(&__thread_list_lock, &tl_lock_waiters, val, 0); in __tl_lock()
41 if (tl_lock_waiters) __wake(&__thread_list_lock, 1, 0); in __tl_unlock()
49 __wait(&__thread_list_lock, &tl_lock_waiters, val, 0); in __tl_sync()
50 if (tl_lock_waiters) __wake(&__thread_list_lock, 1, 0); in __tl_sync()
/third_party/musl/src/thread/
Dpthread_create.c30 static int tl_lock_waiters; variable
41 __wait(&__thread_list_lock, &tl_lock_waiters, val, 0); in __tl_lock()
51 if (tl_lock_waiters) __wake(&__thread_list_lock, 1, 0); in __tl_unlock()
59 __wait(&__thread_list_lock, &tl_lock_waiters, val, 0); in __tl_sync()
60 if (tl_lock_waiters) __wake(&__thread_list_lock, 1, 0); in __tl_sync()
/third_party/musl/porting/linux/user/src/thread/
Dpthread_create.c105 static int tl_lock_waiters; variable
116 __wait(&__thread_list_lock, &tl_lock_waiters, val, 0); in __tl_lock()
126 if (tl_lock_waiters) __wake(&__thread_list_lock, 1, 0); in __tl_unlock()
134 __wait(&__thread_list_lock, &tl_lock_waiters, val, 0); in __tl_sync()
135 if (tl_lock_waiters) __wake(&__thread_list_lock, 1, 0); in __tl_sync()