![]() |
Home | Libraries | People | FAQ | More |
Request the executor to invoke the given function object.
template< typename Function, typename OtherAllocator> void post( Function && f, const OtherAllocator & a) const;
If there is a trampoline with this executor's identity installed on the current thread, and it has sufficient capacity, the function object is queued on it. Otherwise the function object is submitted to the target executor's post function.
The function object to be called.
An allocator that may be used by the executor.