Home | History | Annotate | Download | only in tests

Lines Matching refs:Pipe

52 class Pipe {
55 Pipe(int readFd, int writeFd) : m_readFd{readFd}, m_writeFd{writeFd} {}
56 Pipe(const Pipe &) = delete;
57 Pipe& operator=(const Pipe &) = delete;
58 Pipe& operator=(const Pipe &&) = delete;
60 Pipe(Pipe&& rval) noexcept {
66 ~Pipe() {
90 static tuple<Pipe, Pipe> createPipePair() {
94 int error1 = pipe(a);
95 int error2 = pipe(b);
99 return make_tuple(Pipe(a[0], b[1]), Pipe(b[0], a[1]));
173 Pipe p)
224 Pipe make_worker(int num, int iterations, int worker_count)
226 auto pipe_pair = Pipe::createPipePair();
240 void wait_all(vector<Pipe>& v)
247 void signal_all(vector<Pipe>& v)
260 vector<Pipe> pipes;