Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

system_context::executor_type

The executor type associated with the context.

typedef system_executor executor_type;
Member Functions

Name

Description

context

Obtain the underlying execution context.

defer

Request the system executor to invoke the given function object.

dispatch

Request the system executor to invoke the given function object.

on_work_finished

Inform the executor that some work is no longer outstanding.

on_work_started

Inform the executor that it has some outstanding work to do.

post

Request the system executor to invoke the given function object.

Friends

Name

Description

operator!=

Compare two executors for inequality.

operator==

Compare two executors for equality.

The system executor represents an execution context where functions are permitted to run on arbitrary threads. The post() and defer() functions schedule the function to run on an unspecified system thread pool, and dispatch() invokes the function immediately.

Requirements

Header: boost/asio/system_context.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext