Home | History | Annotate | Download | only in libpthread

Lines Matching defs:thread

37  * follow, but spinlocks are problematic in userspace.  If a thread is
38 * preempted by the kernel while holding a spinlock, any other thread
41 * There is no good way to know that the holding thread is no longer
45 * thread holding the spinlock from getting CPU time: it would never
251 * status of the thread.
256 pthread_t thread;
260 thread = (pthread_t)MUTEX_OWNER(owner);
261 if (thread == NULL)
263 if (thread->pt_lwpctl->lc_curcpu == LWPCTL_CPU_NONE)
331 * Nope, still held. Add thread to the list of waiters.
350 * thread, so self may have already been awoken.
374 * Might have raced with another thread to
482 "Unlocking mutex owned by another thread", weown);
527 * before the awoken thread sees waiter->lid being cleared.
696 * be woken up when the calling thread (self) releases the mutex.