Home
last modified time | relevance | path

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

12

/third_party/musl/src/thread/
Dpthread_barrier_wait.c18 if (b->_b_waiters2) __wake(&b->_b_count, -1, 0); in pshared_barrier_wait()
21 if (b->_b_waiters) __wake(&b->_b_lock, 1, 0); in pshared_barrier_wait()
31 if (b->_b_waiters2) __wake(&b->_b_count, -1, 0); in pshared_barrier_wait()
45 __wake(&b->_b_lock, 1, 0); in pshared_barrier_wait()
82 if (b->_b_waiters) __wake(&b->_b_lock, 1, 1); in pthread_barrier_wait()
96 if (b->_b_waiters) __wake(&b->_b_lock, 1, 1); in pthread_barrier_wait()
99 __wake(&inst->last, -1, 1); in pthread_barrier_wait()
102 if (b->_b_waiters) __wake(&b->_b_lock, 1, 1); in pthread_barrier_wait()
108 __wake(&inst->finished, 1, 1); in pthread_barrier_wait()
Dpthread_cond_timedwait.c45 __wake(l, 1, 1); in unlock()
51 if (w) __wake(l, 1, 1); in unlock_requeue()
110 __wake(&c->_c_waiters, 1, 0); in __pthread_cond_timedwait()
134 __wake(node.notify, 1, 1); in __pthread_cond_timedwait()
Dpthread_once.c8 __wake(control, -1, 1); in undo()
26 __wake(control, -1, 1); in __pthread_once_full()
Dpthread_create.c51 if (tl_lock_waiters) __wake(&__thread_list_lock, 1, 0); in __tl_unlock()
60 if (tl_lock_waiters) __wake(&__thread_list_lock, 1, 0); in __tl_sync()
134 __wake(&m->_m_lock, 1, priv); in __pthread_exit()
169 __wake(&self->detach_state, 1, 1); in __pthread_exit()
372 __wake(&args->control, 1, 1); in __pthread_create()
Dpthread_cond_broadcast.c8 __wake(&c->_c_seq, -1, 0); in pthread_cond_broadcast()
Dpthread_cond_signal.c8 __wake(&c->_c_seq, 1, 0); in pthread_cond_signal()
Dvmlock.c22 __wake(vmlock, -1, 1); in __vm_unlock()
Dpthread_cond_destroy.c9 __wake(&c->_c_seq, -1, 0); in pthread_cond_destroy()
Dsem_post.c15 if (val<0 || waiters) __wake(sem->__val, 1, priv); in sem_post()
Dpthread_rwlock_unlock.c15 __wake(&rw->_rw_lock, cnt, priv); in __pthread_rwlock_unlock()
D__lock.c59 __wake(l, 1, 1); in __unlock()
Dpthread_mutex_unlock.c48 __wake(&m->_m_lock, 1, priv); in __pthread_mutex_unlock()
/third_party/musl/porting/liteos_a/user/src/thread/
Dpthread_barrier_wait.c18 if (b->_b_waiters2) __wake(&b->_b_count, -1, 0); in pshared_barrier_wait()
21 if (b->_b_waiters) __wake(&b->_b_lock, 1, 0); in pshared_barrier_wait()
31 if (b->_b_waiters2) __wake(&b->_b_count, -1, 0); in pshared_barrier_wait()
45 __wake(&b->_b_lock, 1, 0); in pshared_barrier_wait()
82 if (b->_b_waiters) __wake(&b->_b_lock, 1, 1); in pthread_barrier_wait()
96 if (b->_b_waiters) __wake(&b->_b_lock, 1, 1); in pthread_barrier_wait()
99 __wake(&inst->last, -1, 1); in pthread_barrier_wait()
102 if (b->_b_waiters) __wake(&b->_b_lock, 1, 1); in pthread_barrier_wait()
108 __wake(&inst->finished, 1, 1); in pthread_barrier_wait()
Dpthread_create.c41 if (tl_lock_waiters) __wake(&__thread_list_lock, 1, 0); in __tl_unlock()
50 if (tl_lock_waiters) __wake(&__thread_list_lock, 1, 0); in __tl_sync()
111 __wake(&m->_m_lock, 1, priv); in __pthread_exit()
146 __wake(&self->detach_state, 1, 1); in __pthread_exit()
Dpthread_mutex_unlock.c41 __wake(&m->_m_lock, 1, priv); in __pthread_mutex_unlock()
/third_party/musl/porting/linux/user/src/thread/
Dpthread_once.c8 __wake(control, -1, 1); in undo()
26 __wake(control, -1, 1); in __pthread_once_full()
Dpthread_create.c126 if (tl_lock_waiters) __wake(&__thread_list_lock, 1, 0); in __tl_unlock()
135 if (tl_lock_waiters) __wake(&__thread_list_lock, 1, 0); in __tl_sync()
214 __wake(&m->_m_lock, 1, priv); in __pthread_exit()
249 __wake(&self->detach_state, 1, 1); in __pthread_exit()
469 __wake(&args->control, 1, 1); in __pthread_create()
/third_party/musl/src/stdio/
Dgetc.h12 __wake(&f->lock, 1, 1); in locking_getc()
Dputc.h12 __wake(&f->lock, 1, 1); in locking_putc()
D__lockfile.c22 __wake(&f->lock, 1, 1); in __unlockfile()
/third_party/musl/porting/liteos_m/user/src/thread/
D__lock.c57 __wake(l, 1, 1); in __unlock()
/third_party/musl/porting/linux/user/src/aio/
Daio.c172 __wake(&at->running, -1, 1); in cleanup()
174 __wake(&cb->__err, -1, 1); in cleanup()
176 __wake(&__aio_fut, -1, 1); in cleanup()
/third_party/musl/src/aio/
Daio.c172 __wake(&at->running, -1, 1); in cleanup()
174 __wake(&cb->__err, -1, 1); in cleanup()
176 __wake(&__aio_fut, -1, 1); in cleanup()
/third_party/musl/porting/liteos_a/user/src/aio/
Daio.c172 __wake(&at->running, -1, 1); in cleanup()
174 __wake(&cb->__err, -1, 1); in cleanup()
176 __wake(&__aio_fut, -1, 1); in cleanup()
/third_party/musl/porting/liteos_a/user_debug/src/malloc/
Dmemalign.c18 if (lk[1]) __wake(lk, 1, 1); in unlock()

12