boost::asio::basic_system_executor

An executor that uses arbitrary threads.

Synopsis

Declared in <boost/asio/system_executor.hpp>

template<
    typename Blocking,
    typename Relationship,
    typename Allocator>
class basic_system_executor;

Member Functions

Name

Description

basic_system_executor [constructor]

Default constructor.

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.

execute

Execution function.

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

boost::asio::basic_system_executor

An executor that uses arbitrary threads.

boost::asio::operator!=

Compare two executors for inequality.

boost::asio::operator==

Compare two executors for equality.

boost_asio_query_fn::impl

boost_asio_prefer_fn::impl

boost_asio_require_fn::impl

Description

The system executor represents an execution context where functions are permitted to run on arbitrary threads. When the blocking.never property is established, the system executor will schedule the function to run on an unspecified system thread pool. When either blocking.possibly or blocking.always is established, the executor invokes the function immediately.

Created with MrDocs