Home
last modified time | relevance | path

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

/system/ulib/fit/
A Dscope.cpp72 scope::promise_handle scope::state::adopt_promise( in adopt_promise()
93 return promise_handle{}; in adopt_promise()
96 void scope::state::drop_promise(promise_handle promise_handle) { in drop_promise() argument
97 if (!promise_handle.promise_holder) { in drop_promise()
109 if (!promise_handle.state->exited()) { in drop_promise()
131 if (promise_handle.promise_holder) { in drop_promise()
132 delete promise_handle.promise_holder; in drop_promise()
134 delete promise_handle.state; in drop_promise()
139 promise_handle promise_handle) { in try_acquire_promise() argument
140 if (promise_handle.promise_holder) { in try_acquire_promise()
[all …]
/system/ulib/fit/include/lib/fit/
A Dscope.h119 class promise_handle final {
121 promise_handle() = default;
128 promise_handle(state* state, promise_holder_base* promise_holder) in promise_handle() function
160 static void drop_promise(promise_handle promise_handle);
167 promise_handle promise_handle);
170 static void release_promise(promise_handle promise_handle);
234 explicit scoped_continuation(promise_handle promise_handle) in scoped_continuation() argument
235 : promise_handle_(promise_handle) {} in scoped_continuation()
239 other.promise_handle_ = promise_handle{}; in scoped_continuation()
261 other.promise_handle_ = promise_handle{};
[all …]

Completed in 5 milliseconds