Lines Matching refs:sync_pipe
175 int sync_pipe[2]; in TEST_IMPL() local
179 ASSERT_OK(pipe(sync_pipe)); in TEST_IMPL()
209 ASSERT_EQ(1, write(sync_pipe[1], "1", 1)); /* alert child */ in TEST_IMPL()
219 ASSERT_EQ(1, read(sync_pipe[0], sync_buf, 1)); /* wait for parent */ in TEST_IMPL()
251 int sync_pipe[2]; in TEST_IMPL() local
256 ASSERT_OK(pipe(sync_pipe)); in TEST_IMPL()
275 ASSERT_EQ(1, read(sync_pipe[0], sync_buf, 1)); /* wait for child */ in TEST_IMPL()
287 ASSERT_EQ(1, write(sync_pipe[1], "1", 1)); /* alert parent */ in TEST_IMPL()
306 int sync_pipe[2]; in TEST_IMPL() local
313 ASSERT_OK(pipe(sync_pipe)); in TEST_IMPL()
334 ASSERT_EQ(1, read(sync_pipe[0], sync_buf, 1)); /* wait for child */ in TEST_IMPL()
355 ASSERT_EQ(1, write(sync_pipe[1], "1", 1)); /* alert parent */ in TEST_IMPL()