Lines Matching refs:task_handle
33 class task_handle; variable
64 class task_handle {
72 task_handle() = default;
73 task_handle(task_handle&&) = default;
74 task_handle& operator=(task_handle&&) = default;
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;
87 task_handle(task_handle_task* t) : m_handle {t}{}; in task_handle() function
95 static task_handle construct(task_handle_task* t) { return {t}; } in construct()
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()
103 inline bool operator==(task_handle const& th, std::nullptr_t) noexcept {
106 inline bool operator==(std::nullptr_t, task_handle const& th) noexcept {
110 inline bool operator!=(task_handle const& th, std::nullptr_t) noexcept {
114 inline bool operator!=(std::nullptr_t, task_handle const& th) noexcept {