Lines Matching defs:thread
1 /* $NetBSD: thread-stub.c,v 1.36 2025/10/27 16:30:53 christos Exp $ */
34 __RCSID("$NetBSD: thread-stub.c,v 1.36 2025/10/27 16:30:53 christos Exp $");
38 * Stubs for thread operations, for use when threads are not used by
97 __libc_thr_join_stub(pthread_t thread, void **valptr)
100 if (thread == pthread_self())
106 __libc_thr_detach_stub(pthread_t thread)
109 if (thread == pthread_self())
117 /* thread creation attributes */
309 * thread-specific data; we need to actually provide a simple TSD
310 * implementation, since some thread-safe libraries want to use it.