Lines Matching refs:th
78 friend bool operator==(task_handle const& th, std::nullptr_t) noexcept;
79 friend bool operator==(std::nullptr_t, task_handle const& th) noexcept;
81 friend bool operator!=(task_handle const& th, std::nullptr_t) noexcept;
82 friend bool operator!=(std::nullptr_t, task_handle const& th) noexcept;
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()
98 __TBB_ASSERT(th.m_handle, "ctx_of does not expect empty task_handle."); 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 {
115 return th.m_handle != nullptr;