Set of primitives to establish future API interaction with user provided executor types.
More...
|
template<typename Executor , typename Functor > |
void | post (Executor exec, Functor func) |
|
Set of primitives to establish future API interaction with user provided executor types.
◆ post()
void post |
( |
Executor |
exec, |
|
|
Functor |
func |
|
) |
| |
Function which must be ADL discoverable for user provided executor classes. This function must schedule execution of the function object from the second argument on the executor provided with the first argument.
Function object type meets MoveConstructable, MoveAssignable and Callable (with signature void()
) standard library named requirements.
- See also
- portable_concurrency::is_executor
◆ inplace_executor