/netbsd/external/gpl3/gcc.old/dist/libobjc/ |
H A D | thr.c | 182 return thread_id; in objc_thread_detach() 308 objc_thread_t thread_id; in objc_mutex_lock() local 317 if (mutex->owner == thread_id) in objc_mutex_lock() 328 mutex->owner = thread_id; in objc_mutex_lock() 338 objc_thread_t thread_id; in objc_mutex_trylock() local 347 if (mutex->owner == thread_id) in objc_mutex_trylock() 358 mutex->owner = thread_id; in objc_mutex_trylock() 370 objc_thread_t thread_id; in objc_mutex_unlock() local 379 if (mutex->owner != thread_id) in objc_mutex_unlock() 458 objc_thread_t thread_id; in objc_condition_wait() local [all …]
|
/netbsd/external/gpl3/gcc/dist/libobjc/ |
H A D | thr.c | 182 return thread_id; in objc_thread_detach() 308 objc_thread_t thread_id; in objc_mutex_lock() local 317 if (mutex->owner == thread_id) in objc_mutex_lock() 328 mutex->owner = thread_id; in objc_mutex_lock() 338 objc_thread_t thread_id; in objc_mutex_trylock() local 347 if (mutex->owner == thread_id) in objc_mutex_trylock() 358 mutex->owner = thread_id; in objc_mutex_trylock() 370 objc_thread_t thread_id; in objc_mutex_unlock() local 379 if (mutex->owner != thread_id) in objc_mutex_unlock() 458 objc_thread_t thread_id; in objc_condition_wait() local [all …]
|
/netbsd/external/gpl3/gcc/dist/libsanitizer/asan/ |
H A D | asan_debugging.cc | 48 uptr AsanGetStack(uptr addr, uptr *trace, u32 size, u32 *thread_id, in AsanGetStack() argument 57 if (thread_id) *thread_id = chunk.AllocTid(); in AsanGetStack() 61 if (thread_id) *thread_id = chunk.FreeTid(); in AsanGetStack() 130 uptr __asan_get_alloc_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { in __asan_get_alloc_stack() argument 131 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ true); in __asan_get_alloc_stack() 135 uptr __asan_get_free_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { in __asan_get_free_stack() argument 136 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ false); in __asan_get_free_stack()
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/asan/ |
H A D | asan_debugging.cc | 50 uptr AsanGetStack(uptr addr, uptr *trace, u32 size, u32 *thread_id, in AsanGetStack() argument 59 if (thread_id) *thread_id = chunk.AllocTid(); in AsanGetStack() 63 if (thread_id) *thread_id = chunk.FreeTid(); in AsanGetStack() 132 uptr __asan_get_alloc_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { in __asan_get_alloc_stack() argument 133 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ true); in __asan_get_alloc_stack() 137 uptr __asan_get_free_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { in __asan_get_free_stack() argument 138 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ false); in __asan_get_free_stack()
|
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
H A D | asan_debugging.cc | 48 uptr AsanGetStack(uptr addr, uptr *trace, u32 size, u32 *thread_id, in AsanGetStack() argument 57 if (thread_id) *thread_id = chunk.AllocTid(); in AsanGetStack() 61 if (thread_id) *thread_id = chunk.FreeTid(); in AsanGetStack() 130 uptr __asan_get_alloc_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { in __asan_get_alloc_stack() argument 131 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ true); in __asan_get_alloc_stack() 135 uptr __asan_get_free_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { in __asan_get_free_stack() argument 136 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ false); in __asan_get_free_stack()
|
/netbsd/crypto/external/cpl/trousers/dist/src/tcsd/ |
H A D | tcsd_threads.c | 47 if (tm->thread_data[i].thread_id != THREAD_NULL) { in tcsd_threads_final() 48 if ((rc = THREAD_JOIN(*(tm->thread_data[i].thread_id), NULL))) { in tcsd_threads_final() 129 if (tm->thread_data[thread_num].thread_id == THREAD_NULL) in tcsd_thread_create() 143 tm->thread_data[thread_num].thread_id = calloc(1, sizeof(THREAD_TYPE)); in tcsd_thread_create() 144 if (tm->thread_data[thread_num].thread_id == NULL) { in tcsd_thread_create() 150 if ((rc = THREAD_CREATE(tm->thread_data[thread_num].thread_id, in tcsd_thread_create() 350 if ((rc = pthread_detach(*(data->thread_id)))) { in tcsd_thread_run() 355 free(data->thread_id); in tcsd_thread_run() 356 data->thread_id = THREAD_NULL; in tcsd_thread_run()
|
/netbsd/external/gpl3/gdb/dist/gdb/testsuite/gdb.mi/ |
H A D | non-stop-exit.c | 38 pthread_t thread_id[NTHREADS]; in main() local 45 pthread_create (&thread_id[i], NULL, thread_function, &args[i]); in main() 50 pthread_join (thread_id[i], NULL); in main()
|
/netbsd/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.mi/ |
H A D | non-stop-exit.c | 38 pthread_t thread_id[NTHREADS]; in main() local 45 pthread_create (&thread_id[i], NULL, thread_function, &args[i]); in main() 50 pthread_join (thread_id[i], NULL); in main()
|
/netbsd/external/mit/libuv/dist/test/ |
H A D | benchmark-million-async.c | 32 static uv_thread_t thread_id; variable 63 ASSERT(0 == uv_thread_join(&thread_id)); in timer_cb() 101 ASSERT(0 == uv_thread_create(&thread_id, thread_cb, NULL)); in BENCHMARK_IMPL()
|
H A D | test-thread.c | 34 uv_thread_t thread_id; member 42 uv_thread_t thread_id; member 50 uv_thread_t thread_id; member 182 r = uv_thread_create(&threads[i].thread_id, do_work, &threads[i]); in TEST_IMPL() 187 r = uv_thread_join(&threads[i].thread_id); in TEST_IMPL()
|
H A D | test-thread-equal.c | 29 uv_thread_t *thread_id = arg; in check_thread() local 35 *thread_id = uv_thread_self(); in check_thread()
|
/netbsd/external/gpl3/gcc/dist/libgcc/ |
H A D | gthr-posix.h | 370 objc_thread_t thread_id; in __gthread_objc_thread_detach() local 378 thread_id = (objc_thread_t) new_thread_handle; in __gthread_objc_thread_detach() 380 thread_id = NULL; in __gthread_objc_thread_detach() 382 return thread_id; in __gthread_objc_thread_detach() 395 pthread_t thread_id = __gthrw_(pthread_self) (); in __gthread_objc_thread_set_priority() local 400 if (__gthrw_(pthread_getschedparam) (thread_id, &policy, ¶ms) == 0) in __gthread_objc_thread_set_priority() 419 if (__gthrw_(pthread_setschedparam) (thread_id, policy, ¶ms) == 0) in __gthread_objc_thread_set_priority()
|
/netbsd/external/gpl3/gcc.old/dist/libgcc/ |
H A D | gthr-posix.h | 370 objc_thread_t thread_id; in __gthread_objc_thread_detach() local 378 thread_id = (objc_thread_t) new_thread_handle; in __gthread_objc_thread_detach() 380 thread_id = NULL; in __gthread_objc_thread_detach() 382 return thread_id; in __gthread_objc_thread_detach() 395 pthread_t thread_id = __gthrw_(pthread_self) (); in __gthread_objc_thread_set_priority() local 400 if (__gthrw_(pthread_getschedparam) (thread_id, &policy, ¶ms) == 0) in __gthread_objc_thread_set_priority() 419 if (__gthrw_(pthread_setschedparam) (thread_id, policy, ¶ms) == 0) in __gthread_objc_thread_set_priority()
|
/netbsd/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/ |
H A D | benchmark_api_internal.cc | 7 size_t iters, int thread_id, internal::ThreadTimer* timer, in Run() argument 9 State st(iters, arg, thread_id, threads, timer, manager); in Run()
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
H A D | sanitizer_stoptheworld_testlib.cc | 48 pthread_t thread_id; in StopTheWorldTestLibConstructor() local 49 pthread_create(&thread_id, NULL, SuspenderThread, NULL); in StopTheWorldTestLibConstructor()
|
H A D | sanitizer_stoptheworld_test.cc | 74 pthread_t thread_id; in TEST() local 77 pthread_create_result = pthread_create(&thread_id, NULL, IncrementerThread, in TEST() 86 ASSERT_EQ(0, pthread_join(thread_id, NULL)); in TEST()
|
/netbsd/external/gpl3/gdb/dist/gdb/mi/ |
H A D | mi-cmd-var.c | 52 int thread_id; in print_varobj() local 74 thread_id = varobj_get_thread_id (var); in print_varobj() 75 if (thread_id > 0) in print_varobj() 76 uiout->field_signed ("thread-id", thread_id); in print_varobj() 604 int thread_id = varobj_get_thread_id (var); in mi_cmd_var_update_iter() local 606 if (thread_id == -1) in mi_cmd_var_update_iter() 613 thread_info *tp = find_thread_global_id (thread_id); in mi_cmd_var_update_iter()
|
/netbsd/external/gpl3/gdb.old/dist/gdb/mi/ |
H A D | mi-cmd-var.c | 52 int thread_id; in print_varobj() local 74 thread_id = varobj_get_thread_id (var); in print_varobj() 75 if (thread_id > 0) in print_varobj() 76 uiout->field_signed ("thread-id", thread_id); in print_varobj() 604 int thread_id = varobj_get_thread_id (var); in mi_cmd_var_update_iter() local 606 if (thread_id == -1) in mi_cmd_var_update_iter() 613 thread_info *tp = find_thread_global_id (thread_id); in mi_cmd_var_update_iter()
|
/netbsd/external/gpl3/gdb/dist/gdb/nat/ |
H A D | windows-nat.c | 320 || desired_stop_thread_id == item.thread_id) in matching_pending_stop() 324 desired_stop_thread_id, item.thread_id)); in matching_pending_stop() 343 || desired_stop_thread_id == iter->thread_id) in fetch_pending_stop() 350 iter->thread_id, desired_stop_thread_id)); in fetch_pending_stop()
|
/netbsd/external/gpl3/gcc.old/dist/libgcc/config/pa/ |
H A D | gthr-dce.h | 164 objc_thread_t thread_id; in __gthread_objc_thread_detach() local 174 thread_id = *(objc_thread_t *) &new_thread_handle; in __gthread_objc_thread_detach() 178 thread_id = NULL; in __gthread_objc_thread_detach() 180 return thread_id; in __gthread_objc_thread_detach()
|
/netbsd/external/gpl3/gdb.old/dist/gdb/nat/ |
H A D | windows-nat.c | 320 || desired_stop_thread_id == item.thread_id) in matching_pending_stop() 324 desired_stop_thread_id, item.thread_id)); in matching_pending_stop() 343 || desired_stop_thread_id == iter->thread_id) in fetch_pending_stop() 350 iter->thread_id, desired_stop_thread_id)); in fetch_pending_stop()
|
/netbsd/external/gpl3/gcc/dist/libgcc/config/pa/ |
H A D | gthr-dce.h | 164 objc_thread_t thread_id; in __gthread_objc_thread_detach() local 174 thread_id = *(objc_thread_t *) &new_thread_handle; in __gthread_objc_thread_detach() 178 thread_id = NULL; in __gthread_objc_thread_detach() 180 return thread_id; in __gthread_objc_thread_detach()
|
/netbsd/external/gpl3/gcc/dist/libsanitizer/include/sanitizer/ |
H A D | asan_interface.h | 93 int *thread_id); 99 int *thread_id);
|
/netbsd/sys/external/bsd/compiler_rt/dist/include/sanitizer/ |
H A D | asan_interface.h | 95 int *thread_id); 101 int *thread_id);
|
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/include/sanitizer/ |
H A D | asan_interface.h | 93 int *thread_id); 99 int *thread_id);
|