Lines Matching defs:thread

8   This file is part of DRD, a thread error detector.
73 * Notes regarding thread creation:
74 * - sg_init() runs on the context of the created thread and copies the vector
75 * clock of the creator thread. This only works reliably if the creator
76 * thread waits until this copy has been performed.
78 * account that are involved in thread creation and for which the
79 * corresponding thread has not yet been created. So not waiting until the
80 * created thread has been started would make it possible that segments get
293 * Tell DRD whether 'tid' is a joinable thread or a detached thread.
302 /** Tell DRD that the calling thread is about to enter pthread_create(). */
309 /** Tell DRD that the calling thread has left pthread_create(). */
318 * thread created by pthread_create().
337 * a pthread_detach() invocation for this thread from another thread.
401 * The main thread is the only thread not created by pthread_create().
402 * Update DRD's state information about the main thread.
406 // Make sure that DRD knows about the main thread's POSIX thread ID.
430 int pthread_create_intercept(pthread_t* thread, const pthread_attr_t* attr,
443 * Find out whether the thread will be started as a joinable thread
444 * or as a detached thread. If no thread attributes have been specified,
445 * this means that the new thread will be started as a joinable thread.
457 CALL_FN_W_WWWW(ret, fn, thread, attr, DRD_(thread_wrapper), &thread_args);
462 /* Wait until the thread wrapper started. */
475 (pthread_t *thread, const pthread_attr_t *attr,
477 (thread, attr, start, arg));
519 (pthread_t thread), (thread));
539 (pthread_t thread), (thread))