Home
last modified time | relevance | path

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

/third_party/musl/src/thread/liteos_a/
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/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/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()
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/
Dpthread_create.c110 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/
Dpthread_create.c110 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.c12 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.c32 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/
Dsyscall_hooks.c66 *tid_addr = &__thread_list_lock; in set_syscall_hooks()
/third_party/musl/src/syscall_hooks/linux/
Dsyscall_hooks.c66 *tid_addr = &__thread_list_lock; in set_syscall_hooks()
/third_party/musl/porting/linux/user/src/syscall_hooks/
Dsyscall_hooks.c66 *tid_addr = &__thread_list_lock; in set_syscall_hooks()
/third_party/musl/porting/liteos_a/user/src/process/
D_Fork.c30 __thread_list_lock = 0; in _Fork()
/third_party/musl/porting/linux/user/src/process/
D_Fork.c33 __thread_list_lock = 0; in _Fork()
/third_party/musl/src/process/
D_Fork.c39 __thread_list_lock = 0; in _Fork()
/third_party/musl/src/linux/liteos_a/
Dclone.c43 __thread_list_lock = 0; in __start_child()
/third_party/musl/porting/liteos_a/user/src/linux/
Dclone.c28 __thread_list_lock = 0; in __start_child()
/third_party/musl/porting/linux/user/src/linux/
Dclone.c43 __thread_list_lock = 0; in __start_child()
/third_party/musl/src/linux/linux/
Dclone.c58 __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_m/kernel/src/internal/
Dpthread_impl.h117 extern hidden volatile int __thread_list_lock;
/third_party/musl/porting/liteos_a/kernel/src/internal/
Dpthread_impl.h119 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/liteos_a/user/src/internal/
Dpthread_impl.h192 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
/third_party/musl/porting/linux/user/src/internal/
Dpthread_impl.h276 extern hidden volatile int __thread_list_lock;
/third_party/musl/src/internal/
Dpthread_impl.h277 extern hidden volatile int __thread_list_lock;