/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
H A D | thread.h | 26 typedef std::thread thread; typedef 35 struct thread { struct 36 thread() {} in thread() argument 37 thread(thread &&other) {} in thread() argument 39 explicit thread(Function &&f, Args &&... args) { in thread() argument 44 void join() {} in join() 45 static unsigned hardware_concurrency() { return 1; }; in hardware_concurrency()
|
/netbsd-src/lib/librumpuser/ |
H A D | rumpfiber.h | 36 struct thread { struct 41 TAILQ_ENTRY(thread) thread_list; argument 57 void wake(struct thread *thread); argument
|
H A D | rumpfiber.c | 141 struct thread *prev, *next, *thread, *tmp; in schedule() local 211 struct thread *thread = calloc(1, sizeof(struct thread)); in create_thread() local 268 struct thread *thread = get_current(); in exit_thread() local 303 struct thread *thread = get_current(); in join_thread() local 327 struct thread *thread = get_current(); in msleep() local 336 struct thread *thread = get_current(); in abssleep() local 346 struct thread *thread = get_current(); in abssleep_real() local 363 void wake(struct thread *thread) in wake() 370 void block(struct thread *thread) in block() 377 int is_runnable(struct thread *thread) in is_runnable() [all …]
|
/netbsd-src/lib/libpthread/ |
H A D | pthread_misc.c | 80 pthread_setschedparam(pthread_t thread, int policy, in pthread_setschedparam() 99 pthread_getaffinity_np(pthread_t thread, size_t size, cpuset_t *cpuset) in pthread_getaffinity_np() 115 pthread_setaffinity_np(pthread_t thread, size_t size, cpuset_t *cpuset) in pthread_setaffinity_np() 131 pthread_setschedprio(pthread_t thread, int prio) in pthread_setschedprio() 149 pthread_kill(pthread_t thread, int sig) in pthread_kill()
|
H A D | pthread.c | 396 pthread_create(pthread_t *thread, const pthread_attr_t *attr, in pthread_create() 604 pthread_suspend_np(pthread_t thread) in pthread_suspend_np() 623 pthread_resume_np(pthread_t thread) in pthread_resume_np() 697 pthread_join(pthread_t thread, void **valptr) in pthread_join() 739 pthread__reap(pthread_t thread) in pthread__reap() 775 pthread_detach(pthread_t thread) in pthread_detach() 805 pthread_getname_np(pthread_t thread, char *name, size_t len) in pthread_getname_np() 826 pthread_setname_np(pthread_t thread, const char *name, void *arg) in pthread_setname_np() 869 pthread_cancel(pthread_t thread) in pthread_cancel()
|
/netbsd-src/external/gpl2/lvm2/dist/daemons/dmeventd/ |
H A D | dmeventd.c | 64 #define LINK_THREAD(thread) LINK(thread, &_thread_registry) argument 174 pthread_t thread; member 248 static void _free_thread_status(struct thread_status *thread) in _free_thread_status() 461 struct thread_status *thread; in _lookup_thread_status() local 494 struct thread_status *thread; in _timeout_thread() local 518 static int _register_for_timeout(struct thread_status *thread) in _register_for_timeout() 544 static void _unregister_for_timeout(struct thread_status *thread) in _unregister_for_timeout() 594 static int _event_wait(struct thread_status *thread, struct dm_task **task) in _event_wait() 654 static int _do_register_device(struct thread_status *thread) in _do_register_device() 664 static int _do_unregister_device(struct thread_status *thread) in _do_unregister_device() [all …]
|
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/ |
H A D | threadstest.c | 27 static int wait_for_thread(thread_t thread) in wait_for_thread() 52 static int wait_for_thread(thread_t thread) in wait_for_thread() 76 static int wait_for_thread(thread_t thread) in wait_for_thread() 111 thread_t thread; in test_once() local 156 thread_t thread; in test_thread_local() local
|
/netbsd-src/external/mpl/bind/dist/lib/isc/ |
H A D | thread.c | 95 * Get a thread-local digest context only in new threads. in isc_thread_setname() argument 44 isc_thread_create(isc_threadfunc_t func,isc_threadarg_t arg,isc_thread_t * thread) isc_thread_create() argument 87 isc_thread_join(isc_thread_t thread,isc_threadresult_t * result) isc_thread_join() argument [all...] |
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/hwasan/ |
H A D | hwasan_fuchsia.cpp | 115 Thread *thread = static_cast<Thread *>(hook); in ThreadCreateHook() local 131 Thread *thread = static_cast<Thread *>(hook); in ThreadStartHook() local 140 static void FinishThreadInitialization(Thread *thread) { in FinishThreadInitialization() 150 Thread *thread = static_cast<Thread *>(hook); in ThreadExitHook() local 193 void *__sanitizer_before_thread_create_hook(thrd_t thread, bool detached, in __sanitizer_before_thread_create_hook() 201 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) { in __sanitizer_thread_create_hook()
|
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/pthreads/ |
H A D | thread.c | 52 isc_thread_t *thread) { in isc_thread_create() 95 isc_thread_join(isc_thread_t thread, isc_threadresult_t *result) { in isc_thread_join() 103 isc_thread_setname(isc_thread_t thread, const char *name) { in isc_thread_setname()
|
/netbsd-src/sys/fs/nfs/common/ |
H A D | nfs_fha.c | 255 fha_hash_entry_add_thread(struct fha_hash_entry *fhe, SVCTHREAD *thread) in fha_hash_entry_add_thread() 265 fha_hash_entry_remove_thread(struct fha_hash_entry *fhe, SVCTHREAD *thread) in fha_hash_entry_remove_thread() 297 SVCTHREAD *thread, *min_thread = NULL; in fha_hash_entry_choose_thread() local 384 SVCTHREAD *thread; in fha_assign() local 444 fha_nd_complete(SVCTHREAD *thread, struct svc_req *req) in fha_nd_complete() 477 SVCTHREAD *thread; in fhe_stats_sysctl() local
|
/netbsd-src/crypto/external/bsd/openssl/dist/test/ |
H A D | threadstest.h | 27 static int wait_for_thread(thread_t thread) in wait_for_thread() 52 static int wait_for_thread(thread_t thread) in wait_for_thread() 76 static int wait_for_thread(thread_t thread) in wait_for_thread()
|
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
H A D | asan_rtems.cc | 103 AsanThread *thread = (AsanThread *)MmapOrDie(sizeof(AsanThread), __func__); in CreateAsanThread() local 157 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadCreateHook() local 176 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadStartHook() local 199 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadExitHook() local 224 void *__sanitizer_before_thread_create_hook(uptr thread, bool detached, in __sanitizer_before_thread_create_hook() 234 void __sanitizer_thread_create_hook(void *handle, uptr thread, int status) { in __sanitizer_thread_create_hook()
|
H A D | asan_fuchsia.cc | 94 AsanThread *thread = (AsanThread *)MmapOrDie(AsanThreadMmapSize(), __func__); in CreateAsanThread() local 160 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadCreateHook() local 176 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadStartHook() local 196 void *__sanitizer_before_thread_create_hook(thrd_t thread, bool detached, in __sanitizer_before_thread_create_hook() 204 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) { in __sanitizer_thread_create_hook()
|
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/asan/ |
H A D | asan_fuchsia.cpp | 124 AsanThread *thread = (AsanThread *)MmapOrDie(AsanThreadMmapSize(), __func__); in CreateAsanThread() local 185 AsanThread *thread = in BeforeThreadCreateHook() local 199 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadCreateHook() local 215 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadStartHook() local 246 void *__sanitizer_before_thread_create_hook(thrd_t thread, bool detached, in __sanitizer_before_thread_create_hook() 254 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) { in __sanitizer_thread_create_hook()
|
/netbsd-src/external/gpl2/mkhybrid/dist/libhfs_iso/ |
H A D | volume.h | 25 # define v_getdthread(vol, id, thread, np) \ argument 27 # define v_getfthread(vol, id, thread, np) \ argument
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
H A D | asan_rtems.cc | 105 AsanThread *thread = (AsanThread *)MmapOrDie(sizeof(AsanThread), __func__); in CreateAsanThread() local 159 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadCreateHook() local 178 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadStartHook() local 201 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadExitHook() local 232 void *__sanitizer_before_thread_create_hook(uptr thread, bool detached, in __sanitizer_before_thread_create_hook() 242 void __sanitizer_thread_create_hook(void *handle, uptr thread, int status) { in __sanitizer_thread_create_hook()
|
H A D | asan_fuchsia.cc | 96 AsanThread *thread = (AsanThread *)MmapOrDie(AsanThreadMmapSize(), __func__); in CreateAsanThread() local 162 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadCreateHook() local 178 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadStartHook() local 205 void *__sanitizer_before_thread_create_hook(thrd_t thread, bool detached, in __sanitizer_before_thread_create_hook() 213 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) { in __sanitizer_thread_create_hook()
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/testsuite/libphobos.thread/ |
H A D | external_threads.d | 38 pthread_t thread; in main() local 45 pthread_t thread; in main() local
|
/netbsd-src/external/gpl2/gettext/dist/gettext-runtime/tests/ |
H A D | test-lock.c | 92 pthread_t thread; in gl_thread_create() local 97 static inline void gl_thread_join (gl_thread_t thread) in gl_thread_join() 117 pth_t thread = pth_spawn (NULL, func, arg); in gl_thread_create() local 122 static inline void gl_thread_join (gl_thread_t thread) in gl_thread_join() 141 thread_t thread; in gl_thread_create() local 146 static inline void gl_thread_join (gl_thread_t thread) in gl_thread_join() 185 HANDLE thread = in gl_thread_create() local 192 static inline void gl_thread_join (gl_thread_t thread) in gl_thread_join()
|
/netbsd-src/external/mit/libuv/dist/test/ |
H A D | test-barrier.c | 48 uv_thread_t thread; in TEST_IMPL() local 69 uv_thread_t thread; in TEST_IMPL() local 90 uv_thread_t thread; in TEST_IMPL() local
|
H A D | test-condvar.c | 129 uv_thread_t thread; in TEST_IMPL() local 148 uv_thread_t thread; in TEST_IMPL() local 193 uv_thread_t thread; in TEST_IMPL() local 212 uv_thread_t thread; in TEST_IMPL() local
|
H A D | test-semaphore.c | 51 uv_thread_t thread; in TEST_IMPL() local 75 uv_thread_t thread; in TEST_IMPL() local
|
/netbsd-src/tests/lib/libpthread/dlopen/ |
H A D | t_main_pthread_create.c | 62 pthread_t thread; in ATF_TC_BODY() local 80 pthread_t thread; in ATF_TC_BODY() local
|
/netbsd-src/tests/lib/libpthread/ |
H A D | t_join.c | 63 pthread_t thread; in ATF_TC_BODY() local 72 pthread_t thread[25]; in threadfunc1() local
|