An executor that uses arbitrary threads.
class system_executor
Name |
Description |
---|---|
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. |
|
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. |
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. The post()
and defer()
functions schedule the function to run on an unspecified system thread pool,
and dispatch()
invokes the function immediately.
Header: asio/system_executor.hpp
Convenience header: asio.hpp