...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
The executor context for the system executor.
class system_context : public execution_context
Name |
Description |
---|---|
The executor type associated with the context. |
|
Fork-related event notifications. |
Name |
Description |
---|---|
Obtain an executor for the context. |
|
Join all threads in the system thread pool. |
|
Notify the execution_context of a fork-related event. |
|
Signal all threads in the system thread pool to stop. |
|
Determine whether the system thread pool has been stopped. |
|
Destructor shuts down all threads in the system thread pool. |
Name |
Description |
---|---|
Destroys all services in the context. |
|
Shuts down all services in the context. |
Name |
Description |
---|---|
(Deprecated: Use make_service().) Add a service object to the execution_context. |
|
Determine if an execution_context contains a specified service type. |
|
Creates a service object and adds it to the execution_context. |
|
Obtain the service object corresponding to the given type. |
Header: boost/asio/system_context.hpp
Convenience header: boost/asio.hpp