asio C++ library

PrevUpHomeNext

io_service::strand::post

Request the strand to invoke the given function object.

template<
    typename Function,
    typename Allocator>
void post(
    Function && f,
    const Allocator & a);
  » more...

(Deprecated: Use post.) Request the strand to invoke the given handler and return immediately.

template<
    typename CompletionHandler>
void-or-deduced post(
    CompletionHandler && handler);
  » more...

PrevUpHomeNext