Searched refs:thread_id (Results 1 - 25 of 25) sorted by relevance

/haiku-buildtools/legacy/gcc/libobjc/
H A Dthr.c137 objc_thread_t thread_id = NULL; local
153 if ((thread_id = __objc_thread_detach((void *)__objc_thread_detach_function,
166 return thread_id;
313 objc_thread_t thread_id; local
321 thread_id = objc_thread_id();
322 if (mutex->owner == thread_id)
333 mutex->owner = thread_id;
345 objc_thread_t thread_id; local
353 thread_id = objc_thread_id();
354 if (mutex->owner == thread_id)
380 objc_thread_t thread_id; local
473 objc_thread_t thread_id; local
[all...]
H A Dthr-irix.c77 objc_thread_t thread_id; local
81 thread_id = (objc_thread_t)sys_id;
83 thread_id = NULL;
85 return thread_id;
H A Dthr-dce.c60 objc_thread_t thread_id; local
67 thread_id = *(objc_thread_t *)&new_thread_handle;
71 thread_id = NULL;
73 return thread_id;
H A Dthr-decosf1.c60 objc_thread_t thread_id; local
67 thread_id = *(objc_thread_t *)&new_thread_handle;
71 thread_id = NULL;
73 return thread_id;
H A Dthr-os2.c69 int thread_id = 0; local
71 if ((thread_id = _beginthread (func,NULL,32768,arg)) < 0)
72 thread_id = 0;
74 return (objc_thread_t)thread_id;
H A Dthr-posix.c58 objc_thread_t thread_id; local
62 thread_id = *(objc_thread_t *)&new_thread_handle;
64 thread_id = NULL;
66 return thread_id;
H A Dthr-pthreads.c61 objc_thread_t thread_id; local
65 thread_id = *(objc_thread_t *)&new_thread_handle;
67 thread_id = NULL;
69 return thread_id;
H A Dthr-solaris.c64 objc_thread_t thread_id; local
70 thread_id = *(objc_thread_t *)&new_thread_id;
72 thread_id = NULL;
74 return thread_id;
H A Dthr-win32.c66 DWORD thread_id = 0; local
70 arg, 0, &thread_id)))
71 thread_id = 0;
73 return (objc_thread_t)thread_id;
H A Dthr-mach.c86 objc_thread_t thread_id; local
95 thread_id = *(objc_thread_t *)&new_thread_handle;
99 thread_id = NULL;
101 return thread_id;
/haiku-buildtools/gcc/libsanitizer/sanitizer_common/
H A Dsanitizer_stoptheworld.h35 bool Contains(SuspendedThreadID thread_id) const {
37 if (thread_ids_[i] == thread_id)
42 void Append(SuspendedThreadID thread_id) { argument
43 thread_ids_.push_back(thread_id);
H A Dsanitizer_stoptheworld_linux_libcdep.cc87 bool SuspendThread(SuspendedThreadID thread_id);
90 bool ThreadSuspender::SuspendThread(SuspendedThreadID thread_id) { argument
94 if (suspended_threads_list_.Contains(thread_id))
97 if (internal_iserror(internal_ptrace(PTRACE_ATTACH, thread_id, NULL, NULL),
101 VReport(1, "Could not attach to thread %d (errno %d).\n", thread_id,
105 VReport(1, "Attached to thread %d.\n", thread_id);
109 HANDLE_EINTR(waitpid_status, internal_waitpid(thread_id, NULL, __WALL));
115 thread_id, wperrno);
116 internal_ptrace(PTRACE_DETACH, thread_id, NULL, NULL);
119 suspended_threads_list_.Append(thread_id);
[all...]
/haiku-buildtools/gcc/libsanitizer/asan/
H A Dasan_debugging.cc82 uptr AsanGetStack(uptr addr, uptr *trace, uptr size, u32 *thread_id, argument
91 if (thread_id) *thread_id = chunk.AllocTid();
95 if (thread_id) *thread_id = chunk.FreeTid();
124 uptr __asan_get_alloc_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { argument
125 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ true);
129 uptr __asan_get_free_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { argument
130 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ false);
H A Dasan_interface_internal.h115 u32 *thread_id);
119 u32 *thread_id);
/haiku-buildtools/gcc/libsanitizer/include/sanitizer/
H A Dasan_interface.h93 int *thread_id);
99 int *thread_id);
/haiku-buildtools/gcc/libgcc/config/pa/
H A Dgthr-dce.h164 objc_thread_t thread_id; local
174 thread_id = *(objc_thread_t *) &new_thread_handle;
178 thread_id = NULL;
180 return thread_id;
/haiku-buildtools/gcc/libgcc/
H A Dgthr-posix.h366 objc_thread_t thread_id; local
374 thread_id = (objc_thread_t) new_thread_handle;
376 thread_id = NULL;
378 return thread_id;
391 pthread_t thread_id = __gthrw_(pthread_self) (); local
396 if (__gthrw_(pthread_getschedparam) (thread_id, &policy, &params) == 0)
415 if (__gthrw_(pthread_setschedparam) (thread_id, policy, &params) == 0)
/haiku-buildtools/gcc/libgcc/config/i386/
H A Dgthr-win32.h120 DWORD thread_id = 0; local
124 arg, 0, &thread_id)))
125 thread_id = 0;
127 return (objc_thread_t) (INT_PTR) thread_id;
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/atomic/
H A Dc11-atomic-exec-4.c43 pthread_t thread_id; \
44 int pret = pthread_create (&thread_id, NULL, test_thread_##NAME, \
55 pthread_join (thread_id, NULL); \
H A Dc11-atomic-exec-5.c68 pthread_t thread_id; \
69 int pret = pthread_create (&thread_id, NULL, test_thread_##NAME, \
103 pthread_join (thread_id, NULL); \
/haiku-buildtools/gcc/libcilkrts/runtime/
H A Dsysdep-unix.c583 void *thread_id)
586 pthread_t tid = *(pthread_t *)thread_id;
581 __cilkrts_sysdep_is_worker_thread_id(global_state_t *g, int i, void *thread_id) argument
/haiku-buildtools/jam/
H A DStatCacheServerImpl.h261 thread_id fNodeMonitoringProcessor;
H A DStatCacheServer.cpp1446 thread_id requestLoop = spawn_thread(request_loop, "request loop",
/haiku-buildtools/gcc/gcc/ada/
H A Dterminals.c817 DWORD thread_id; local
820 thread_id = GetWindowThreadProcessId (hwnd, &process_id);
/haiku-buildtools/legacy/gcc/gcc/
H A Dlibgcc2.c3244 thread_id thread;
3256 thread_id us = find_thread(NULL);

Completed in 120 milliseconds