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

execution_context::service

Base class for all io_context services.

class service :
  noncopyable
Member Functions

Name

Description

context

Get the context object that owns the service.

Protected Member Functions

Name

Description

service [constructor]

Constructor.

~service [destructor]

Destructor.

Private Member Functions

Name

Description

notify_fork

Handle notification of a fork-related event to perform any necessary housekeeping.

shutdown

Destroy all user-defined handler objects owned by the service.

Requirements

Header: boost/asio/execution_context.hpp

Convenience header: boost/asio/execution.hpp


PrevUpHomeNext