C++ Channel
|
#include <cstddef>
#include <iterator>
Go to the source code of this file.
Classes | |
class | msd::blocking_iterator< Channel > |
An iterator that blocks the current thread, waiting to fetch elements from the channel. More... | |
class | msd::blocking_writer_iterator< Channel > |
An output iterator pushes elements into a channel. Blocking until the channel is not full. More... | |
Functions | |
template<typename Channel > | |
blocking_writer_iterator< Channel > | msd::back_inserter (Channel &chan) |
Creates a blocking iterator for the given channel. | |
blocking_writer_iterator< Channel > msd::back_inserter | ( | Channel & | chan | ) |
Creates a blocking iterator for the given channel.
Channel | Type of channel being iterated. |
chan | Reference to the channel this iterator will iterate over. |