Lines Matching refs:tid
92 int uv_thread_create(uv_thread_t *tid, void (*entry)(void *arg), void *arg) { in uv_thread_create() argument
95 return uv_thread_create_ex(tid, ¶ms, entry, arg); in uv_thread_create()
98 int uv_thread_create_ex(uv_thread_t* tid, in uv_thread_create_ex() argument
142 *tid = thread; in uv_thread_create_ex()
161 int uv_thread_setaffinity(uv_thread_t* tid, in uv_thread_setaffinity() argument
192 oldthreadmask = SetThreadAffinityMask(*tid, threadmask); in uv_thread_setaffinity()
204 int uv_thread_getaffinity(uv_thread_t* tid, in uv_thread_getaffinity() argument
223 threadmask = SetThreadAffinityMask(*tid, procmask); in uv_thread_getaffinity()
224 if (threadmask == 0 || SetThreadAffinityMask(*tid, threadmask) == 0) in uv_thread_getaffinity()
255 int uv_thread_join(uv_thread_t *tid) { in uv_thread_join() argument
256 if (WaitForSingleObject(*tid, INFINITE)) in uv_thread_join()
259 CloseHandle(*tid); in uv_thread_join()
260 *tid = 0; in uv_thread_join()