Clementine
|
Classes | |
struct | task_cleanup |
class | thread_function |
struct | work_cleanup |
Public Types | |
typedef scheduler_operation | operation |
![]() | |
typedef call_stack< thread_context, thread_info_base > | thread_call_stack |
Public Member Functions | |
ASIO_DECL | scheduler (asio::execution_context &ctx, int concurrency_hint=0, bool own_thread=true) |
ASIO_DECL void | shutdown () |
Destroy all user-defined handler objects owned by the service. | |
ASIO_DECL void | init_task () |
ASIO_DECL std::size_t | run (asio::error_code &ec) |
ASIO_DECL std::size_t | run_one (asio::error_code &ec) |
ASIO_DECL std::size_t | wait_one (long usec, asio::error_code &ec) |
ASIO_DECL std::size_t | poll (asio::error_code &ec) |
ASIO_DECL std::size_t | poll_one (asio::error_code &ec) |
ASIO_DECL void | stop () |
ASIO_DECL bool | stopped () const |
ASIO_DECL void | restart () |
void | work_started () |
ASIO_DECL void | compensating_work_started () |
void | work_finished () |
bool | can_dispatch () |
ASIO_DECL void | capture_current_exception () |
Capture the current exception so it can be rethrown from a run function. | |
ASIO_DECL void | post_immediate_completion (operation *op, bool is_continuation) |
ASIO_DECL void | post_immediate_completions (std::size_t n, op_queue< operation > &ops, bool is_continuation) |
ASIO_DECL void | post_deferred_completion (operation *op) |
ASIO_DECL void | post_deferred_completions (op_queue< operation > &ops) |
ASIO_DECL void | do_dispatch (operation *op) |
ASIO_DECL void | abandon_operations (op_queue< operation > &ops) |
int | concurrency_hint () const |
![]() | |
execution_context_service_base (execution_context &e) | |
![]() | |
execution_context & | context () |
Get the context object that owns the service. | |
Friends | |
class | thread_function |
struct | task_cleanup |
struct | work_cleanup |
Additional Inherited Members | |
![]() | |
static service_id< scheduler > | id |
![]() | |
ASIO_DECL | service (execution_context &owner) |
Constructor. More... | |
virtual ASIO_DECL | ~service () |
Destructor. | |