/third_party/musl/src/thread/liteos_a/ |
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/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/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() 360 …_clone((c11 ? start_c11 : start), stack, flags, args, &new->tid, TP_ADJ(new), &__thread_list_lock); in __pthread_create()
|
/third_party/musl/src/thread/linux/ |
D | pthread_create.c | 110 int val = __thread_list_lock; in __tl_lock() 115 while ((val = a_cas(&__thread_list_lock, 0, tid))) in __tl_lock() 116 __wait(&__thread_list_lock, &tl_lock_waiters, val, 0); in __tl_lock() 125 a_store(&__thread_list_lock, 0); in __tl_unlock() 126 if (tl_lock_waiters) __wake(&__thread_list_lock, 1, 0); in __tl_unlock() 132 int val = __thread_list_lock; in __tl_sync() 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() 486 …_clone((c11 ? start_c11 : start), stack, flags, args, &new->tid, TP_ADJ(new), &__thread_list_lock); in __pthread_create()
|
/third_party/musl/porting/linux/user/src/thread/ |
D | pthread_create.c | 110 int val = __thread_list_lock; in __tl_lock() 115 while ((val = a_cas(&__thread_list_lock, 0, tid))) in __tl_lock() 116 __wait(&__thread_list_lock, &tl_lock_waiters, val, 0); in __tl_lock() 125 a_store(&__thread_list_lock, 0); in __tl_unlock() 126 if (tl_lock_waiters) __wake(&__thread_list_lock, 1, 0); in __tl_unlock() 132 int val = __thread_list_lock; in __tl_sync() 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() 486 …_clone((c11 ? start_c11 : start), stack, flags, args, &new->tid, TP_ADJ(new), &__thread_list_lock); in __pthread_create()
|
/third_party/musl/porting/linux/user/src/env/ |
D | __init_tls.c | 12 volatile int __thread_list_lock; variable 22 td->tid = td->pid = __syscall(SYS_set_tid_address, &__thread_list_lock); in __init_tp()
|
/third_party/musl/src/env/ |
D | __init_tls.c | 32 volatile int __thread_list_lock; variable 42 td->tid = td->pid = __syscall(SYS_set_tid_address, &__thread_list_lock); in __init_tp()
|
/third_party/musl/src/linux/syscall_hooks/ |
D | syscall_hooks.c | 66 *tid_addr = &__thread_list_lock; in set_syscall_hooks()
|
/third_party/musl/src/syscall_hooks/linux/ |
D | syscall_hooks.c | 66 *tid_addr = &__thread_list_lock; in set_syscall_hooks()
|
/third_party/musl/porting/linux/user/src/syscall_hooks/ |
D | syscall_hooks.c | 66 *tid_addr = &__thread_list_lock; in set_syscall_hooks()
|
/third_party/musl/porting/liteos_a/user/src/process/ |
D | _Fork.c | 30 __thread_list_lock = 0; in _Fork()
|
/third_party/musl/porting/linux/user/src/process/ |
D | _Fork.c | 33 __thread_list_lock = 0; in _Fork()
|
/third_party/musl/src/process/ |
D | _Fork.c | 39 __thread_list_lock = 0; in _Fork()
|
/third_party/musl/src/linux/liteos_a/ |
D | clone.c | 43 __thread_list_lock = 0; in __start_child()
|
/third_party/musl/porting/liteos_a/user/src/linux/ |
D | clone.c | 28 __thread_list_lock = 0; in __start_child()
|
/third_party/musl/porting/linux/user/src/linux/ |
D | clone.c | 43 __thread_list_lock = 0; in __start_child()
|
/third_party/musl/src/linux/linux/ |
D | clone.c | 58 __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_m/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 | 119 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/liteos_a/user/src/internal/ |
D | pthread_impl.h | 192 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
|
/third_party/musl/porting/linux/user/src/internal/ |
D | pthread_impl.h | 276 extern hidden volatile int __thread_list_lock;
|
/third_party/musl/src/internal/ |
D | pthread_impl.h | 277 extern hidden volatile int __thread_list_lock;
|