Home
last modified time | relevance | path

Searched refs:__thread_list_lock (Results 1 – 16 of 16) sorted by relevance

/third_party/musl/src/thread/
Dpthread_create.c35 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/
Dpthread_create.c25 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/
Dpthread_create.c104 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.c12 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.c12 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/
Dfork.c31 __thread_list_lock = 0; in fork()
/third_party/musl/porting/liteos_a/user/src/process/
Dfork.c31 __thread_list_lock = 0; in fork()
/third_party/musl/porting/linux/user/src/linux/
Dclone.c29 __thread_list_lock = 0; in __start_child()
/third_party/musl/porting/uniproton/kernel/src/internal/
Dpthread_impl.h117 extern hidden volatile int __thread_list_lock;
/third_party/musl/porting/liteos_a/kernel/src/internal/
Dpthread_impl.h116 extern hidden volatile int __thread_list_lock;
/third_party/musl/porting/liteos_m/kernel/src/internal/
Dpthread_impl.h117 extern hidden volatile int __thread_list_lock;
/third_party/musl/src/internal/
Dpthread_impl.h177 extern hidden volatile int __thread_list_lock;
/third_party/musl/porting/liteos_a/user/src/internal/
Dpthread_impl.h178 extern hidden volatile int __thread_list_lock;
/third_party/musl/porting/liteos_m/user/src/internal/
Dpthread_impl.h178 extern hidden volatile int __thread_list_lock;
/third_party/musl/porting/linux/user/src/internal/
Dpthread_impl.h240 extern hidden volatile int __thread_list_lock;
/third_party/musl/porting/liteos_a/user/src/env/
D__init_tls.c14 volatile int __thread_list_lock; variable