Lines Matching defs:thread
5 * This translation unit implements functions related to thread
51 pthread_join (pthread_t thread, void **value_ptr)
55 * This function waits for 'thread' to terminate and
56 * returns the thread's exit value if 'value_ptr' is not
57 * NULL. This also detaches the thread on successful
61 * thread
69 * This function waits for 'thread' to terminate and
70 * returns the thread's exit value if 'value_ptr' is not
71 * NULL. This also detaches the thread on successful
76 * 0 'thread' has completed
77 * EINVAL thread is not a joinable thread,
78 * ESRCH no thread could be found with ID 'thread',
79 * ENOENT thread couldn't find it's own valid handle,
80 * EDEADLK attempt to join thread with self
87 ptw32_thread_t * tp = (ptw32_thread_t *) thread.p;
93 || thread.x != tp->ptHandle.x)
111 * The target thread is joinable and can't be reused before we join it.
119 else if (pthread_equal (self, thread))
127 * If we are canceled then our target thread must not be
146 result = pthread_detach (thread);