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 an older version of Boost and was released in 2013. The current version is 1.90.0.
Provides serialised handler execution.
class strand
|
Name |
Description |
|---|---|
|
Request the strand to invoke the given handler. |
|
|
Get the io_service associated with the strand. |
|
|
(Deprecated: use get_io_service().) Get the io_service associated with the strand. |
|
|
Request the strand to invoke the given handler and return immediately. |
|
|
Constructor. |
|
|
Create a new handler that automatically dispatches the wrapped handler on the strand. |
|
|
Destructor. |
The io_service::strand class provides the ability to post and dispatch handlers with the guarantee that none of those handlers will execute concurrently.
Distinct objects: Safe.
Shared objects: Safe.