/third_party/musl/src/thread/ |
D | pthread_create.c | 35 int val = __thread_list_lock; in __tl_lock() 40 while ((val = a_cas(&__thread_list_lock, 0, tid))) in __tl_lock() 41 __wait(&__thread_list_lock, &tl_lock_waiters, val, 0); in __tl_lock() 50 a_store(&__thread_list_lock, 0); in __tl_unlock() 51 if (tl_lock_waiters) __wake(&__thread_list_lock, 1, 0); in __tl_unlock() 57 int val = __thread_list_lock; in __tl_sync() 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() 349 …_clone((c11 ? start_c11 : start), stack, flags, args, &new->tid, TP_ADJ(new), &__thread_list_lock); in __pthread_create()
|
/third_party/musl/porting/liteos_a/user/src/thread/ |
D | pthread_create.c | 25 int val = __thread_list_lock; in __tl_lock() 30 while ((val = a_cas(&__thread_list_lock, 0, tid))) in __tl_lock() 31 __wait(&__thread_list_lock, &tl_lock_waiters, val, 0); in __tl_lock() 40 a_store(&__thread_list_lock, 0); in __tl_unlock() 41 if (tl_lock_waiters) __wake(&__thread_list_lock, 1, 0); in __tl_unlock() 47 int val = __thread_list_lock; in __tl_sync() 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/porting/linux/user/src/thread/ |
D | pthread_create.c | 104 int val = __thread_list_lock; in __tl_lock() 109 while ((val = a_cas(&__thread_list_lock, 0, tid))) in __tl_lock() 110 __wait(&__thread_list_lock, &tl_lock_waiters, val, 0); in __tl_lock() 119 a_store(&__thread_list_lock, 0); in __tl_unlock() 120 if (tl_lock_waiters) __wake(&__thread_list_lock, 1, 0); in __tl_unlock() 126 int val = __thread_list_lock; in __tl_sync() 128 __wait(&__thread_list_lock, &tl_lock_waiters, val, 0); in __tl_sync() 129 if (tl_lock_waiters) __wake(&__thread_list_lock, 1, 0); in __tl_sync() 427 …_clone((c11 ? start_c11 : start), stack, flags, args, &new->tid, TP_ADJ(new), &__thread_list_lock); in __pthread_create()
|
/third_party/musl/src/env/ |
D | __init_tls.c | 12 volatile int __thread_list_lock; variable 22 td->tid = __syscall(SYS_set_tid_address, &__thread_list_lock); in __init_tp()
|
/third_party/musl/porting/linux/user/src/env/ |
D | __init_tls.c | 12 volatile int __thread_list_lock; variable 22 td->tid = __syscall(SYS_set_tid_address, &__thread_list_lock); in __init_tp()
|
/third_party/musl/src/process/ |
D | fork.c | 31 __thread_list_lock = 0; in fork()
|
/third_party/musl/porting/liteos_a/user/src/process/ |
D | fork.c | 31 __thread_list_lock = 0; in fork()
|
/third_party/musl/porting/linux/user/src/linux/ |
D | clone.c | 29 __thread_list_lock = 0; in __start_child()
|
/third_party/musl/porting/uniproton/kernel/src/internal/ |
D | pthread_impl.h | 117 extern hidden volatile int __thread_list_lock;
|
/third_party/musl/porting/liteos_a/kernel/src/internal/ |
D | pthread_impl.h | 116 extern hidden volatile int __thread_list_lock;
|
/third_party/musl/porting/liteos_m/kernel/src/internal/ |
D | pthread_impl.h | 117 extern hidden volatile int __thread_list_lock;
|
/third_party/musl/src/internal/ |
D | pthread_impl.h | 177 extern hidden volatile int __thread_list_lock;
|
/third_party/musl/porting/liteos_a/user/src/internal/ |
D | pthread_impl.h | 178 extern hidden volatile int __thread_list_lock;
|
/third_party/musl/porting/liteos_m/user/src/internal/ |
D | pthread_impl.h | 178 extern hidden volatile int __thread_list_lock;
|
/third_party/musl/porting/linux/user/src/internal/ |
D | pthread_impl.h | 240 extern hidden volatile int __thread_list_lock;
|
/third_party/musl/porting/liteos_a/user/src/env/ |
D | __init_tls.c | 14 volatile int __thread_list_lock; variable
|