An executor that uses arbitrary threads.
template< typename Blocking, typename Relationship, typename Allocator> class basic_system_executor
Name |
Description |
---|---|
basic_system_executor [constructor] |
Default constructor. |
Obtain the underlying execution context. |
|
Request the system executor to invoke the given function object. |
|
Request the system executor to invoke the given function object. |
|
Execution function. |
|
Inform the executor that some work is no longer outstanding. |
|
Inform the executor that it has some outstanding work to do. |
|
Request the system executor to invoke the given function object. |
|
Query the current value of the allocator property. |
|
query [static] |
Query the current value of the mapping property. |
Obtain an executor with the blocking.possibly property. |
Name |
Description |
---|---|
Compare two executors for inequality. |
|
Compare two executors for equality. |
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.
Header: asio/system_executor.hpp
Convenience header: asio.hpp