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

PrevUpHomeNext

experimental::basic_concurrent_channel::try_send_via_dispatch

Try to send a message without blocking, using dispatch semantics to call the receive operation's completion handler.

template<
    typename... Args>
bool try_send_via_dispatch(
    Args &&... args);

Fails if the buffer is full and there are no waiting receive operations.

The receive operation's completion handler may be called from inside this function.

Return Value

true on success, false on failure.


PrevUpHomeNext