Home
last modified time | relevance | path

Searched refs:my_thread (Results 1 – 1 of 1) sorted by relevance

/oneTBB/src/tbb/
H A Dco_context.h79 handle_type my_thread; member
210 …c.my_thread = (HANDLE)_beginthreadex(nullptr, unsigned(stack_size), coroutine_thread_func, &data, … in create_coroutine()
211 if (!c.my_thread) { in create_coroutine()
220 …check(pthread_create(&c.my_thread, &s, coroutine_thread_func, &data), "pthread_create has failed"); in create_coroutine()
231 c.my_thread = GetCurrentThread(); in current_coroutine()
233 c.my_thread = pthread_self(); in current_coroutine()
272 WaitForSingleObject(c.my_thread, INFINITE); in destroy_coroutine()
273 CloseHandle(c.my_thread); in destroy_coroutine()
275 check(pthread_join(c.my_thread, nullptr), "pthread_join has failed"); in destroy_coroutine()