Condy v1.6.0
C++ Asynchronous System Call Layer for Linux
Loading...
Searching...
No Matches
condy::Channel< T, N >::PopAwaiter Struct Reference

Awaiter for popping an item from the channel. More...

#include <channel.hpp>

Detailed Description

template<typename T, size_t N = 2>
struct condy::Channel< T, N >::PopAwaiter

Awaiter for popping an item from the channel.

Returns
std::pair<int, T> The result of the pop operation. 0 and the popped item if successful; -EPIPE if the channel is closed; -ECANCELED if the pop operation was cancelled.

Definition at line 532 of file channel.hpp.


The documentation for this struct was generated from the following file: