Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

basic_channel::try_send_n

Try to send a number of messages without blocking.

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

For a channel with more than one signature, the messages are constructed using the first signature, in order, whose parameters can be initialised from the supplied arguments.

Return Value

The number of messages that were sent.


PrevUpHomeNext