Lines Matching defs:__t
156 bool __libcpp_thread_isnull(const __libcpp_thread_t* __t) { return *__t == 0; }
158 int __libcpp_thread_create(__libcpp_thread_t* __t, void* (*__func)(void*), void* __arg) {
163 *__t = reinterpret_cast<HANDLE>(_beginthreadex(nullptr, 0, __libcpp_beginthreadex_thunk, __data, 0, nullptr));
165 if (*__t)
172 __libcpp_thread_id __libcpp_thread_get_id(const __libcpp_thread_t* __t) { return GetThreadId(*__t); }
174 int __libcpp_thread_join(__libcpp_thread_t* __t) {
175 if (WaitForSingleObjectEx(*__t, INFINITE, FALSE) == WAIT_FAILED)
177 if (!CloseHandle(*__t))
182 int __libcpp_thread_detach(__libcpp_thread_t* __t) {
183 if (!CloseHandle(*__t))