Lines Matching refs:__t
192 bool __libcpp_thread_isnull(const __libcpp_thread_t *__t) { in __libcpp_thread_isnull() argument
193 return *__t == 0; in __libcpp_thread_isnull()
196 int __libcpp_thread_create(__libcpp_thread_t *__t, void *(*__func)(void *), in __libcpp_thread_create() argument
203 *__t = reinterpret_cast<HANDLE>(_beginthreadex(nullptr, 0, in __libcpp_thread_create()
207 if (*__t) in __libcpp_thread_create()
217 __libcpp_thread_id __libcpp_thread_get_id(const __libcpp_thread_t *__t) in __libcpp_thread_get_id() argument
219 return GetThreadId(*__t); in __libcpp_thread_get_id()
222 int __libcpp_thread_join(__libcpp_thread_t *__t) in __libcpp_thread_join() argument
224 if (WaitForSingleObjectEx(*__t, INFINITE, FALSE) == WAIT_FAILED) in __libcpp_thread_join()
226 if (!CloseHandle(*__t)) in __libcpp_thread_join()
231 int __libcpp_thread_detach(__libcpp_thread_t *__t) in __libcpp_thread_detach() argument
233 if (!CloseHandle(*__t)) in __libcpp_thread_detach()