Provides serialised function invocation for any executor type.
template< typename Executor> class strand
Name |
Description |
---|---|
The type of the underlying executor. |
Name |
Description |
---|---|
Request the strand to invoke the given function object. |
|
Request the strand to invoke the given function object. |
|
Obtain the underlying executor. |
|
Assignment operator. |
|
Request the strand to invoke the given function object. |
|
Forward a query to the underlying executor. |
|
Determine whether the strand is running in the current thread. |
|
strand [constructor] |
Default constructor. |
~strand [destructor] |
Destructor. |
Name |
Description |
---|---|
Compare two strands for inequality. |
|
Compare two strands for equality. |
Header: asio/strand.hpp
Convenience header: asio.hpp