Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

experimental::basic_channel::try_send_n_via_dispatch

Try to send a number of messages without blocking, using dispatch semantics to call the receive operations' completion handlers.

template<
    typename... Args>
std::size_t try_send_n_via_dispatch(
    std::size_t count,
    Args &&... args);

The receive operations' completion handlers may be called from inside this function.

Return Value

The number of messages that were sent.


PrevUpHomeNext