MCPcopy Create free account
hub / github.com/cinder/Cinder / executor_work_guard

Method executor_work_guard

include/asio/executor_work_guard.hpp:56–61  ·  view source on GitHub ↗

Constructs a @c executor_work_guard object for the specified executor. * Stores a copy of @c e and calls on_work_started() on it. */

Source from the content-addressed store, hash-verified

54 * Stores a copy of @c e and calls <tt>on_work_started()</tt> on it.
55 */
56 explicit executor_work_guard(const executor_type& e) ASIO_NOEXCEPT
57 : executor_(e),
58 owns_(true)
59 {
60 executor_.on_work_started();
61 }
62
63 /// Copy constructor.
64 executor_work_guard(const executor_work_guard& other) ASIO_NOEXCEPT

Callers

nothing calls this directly

Calls 1

on_work_startedMethod · 0.45

Tested by

no test coverage detected