Searched refs:th (Results 1 – 6 of 6) sorted by relevance
| /oneTBB/examples/parallel_for/tachyon/src/ |
| H A D | pthread.cpp | 59 pthread_t th; in pthread_create() local 68 th = (pthread_t)malloc(sizeof(pthread_s)); in pthread_create() 69 memset(th, 0, sizeof(pthread_s)); in pthread_create() 71 th->winthread_handle = in pthread_create() 73 if (th->winthread_handle == nullptr) in pthread_create() 76 *thread = th; in pthread_create() 87 if ((th == nullptr) || (th->winthread_handle == nullptr)) in pthread_join() 103 b_ret = CloseHandle(th->winthread_handle); in pthread_join() 106 memset(th, 0, sizeof(pthread_s)); in pthread_join() 107 free(th); in pthread_join() [all …]
|
| H A D | pthread_w.hpp | 98 extern int pthread_join(pthread_t th, void **thread_return);
|
| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _task_handle.h | 96 static d1::task* release(task_handle& th) { return th.release(); } in release() 97 static d1::task_group_context& ctx_of(task_handle& th) { in ctx_of() 99 return th.m_handle->ctx(); in ctx_of() 103 inline bool operator==(task_handle const& th, std::nullptr_t) noexcept { 104 return th.m_handle == nullptr; 106 inline bool operator==(std::nullptr_t, task_handle const& th) noexcept { 107 return th.m_handle == nullptr; 110 inline bool operator!=(task_handle const& th, std::nullptr_t) noexcept { 111 return th.m_handle != nullptr; 114 inline bool operator!=(std::nullptr_t, task_handle const& th) noexcept { [all …]
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | task_arena.h | 101 inline void enqueue_impl(task_handle&& th, d1::task_arena_base* ta) { in enqueue_impl() argument 102 __TBB_ASSERT(th != nullptr, "Attempt to schedule empty task_handle"); in enqueue_impl() 104 auto& ctx = task_handle_accessor::ctx_of(th); in enqueue_impl() 107 r1::enqueue(*task_handle_accessor::release(th), ctx, ta); in enqueue_impl() 393 void enqueue(d2::task_handle&& th) { in enqueue() argument 395 d2::enqueue_impl(std::move(th), this); in enqueue() 466 inline void enqueue(d2::task_handle&& th) { in enqueue() argument 467 d2::enqueue_impl(std::move(th), nullptr); in enqueue()
|
| H A D | task_group.h | 109 task_handle th = std::forward<F>(f)(); in task_ptr_or_nullptr_impl() local 110 return task_handle_accessor::release(th); in task_ptr_or_nullptr_impl()
|
| /oneTBB/doc/main/tbb_userguide/design_patterns/ |
| H A D | Reference_Counting.rst | 142 in Proceedings of the 16th International Symposium on Distributed
|