ASIO dispatch and post default executor
I refer to two executors: the "executor argument" is the ex argument to e.g. overload 2 of post() or dispatch() and the "bound executor" is the executor (if any) bound to the completion token argument to post() or dispatch(). I'm trying to ensure that dispatching and posting always results in my code respecting bound executors if present, but falling back to a well-known executor. The Executor requirements on post() and dispatch() are slightly different; the return value of get_associated_executor() cannot be passed directly as the executor argument to post(). In my case the return type is any
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.