Lines Matching defs:channel
50 zx_handle_t channel;
178 static bool msg_loop(zx_handle_t channel) {
183 ASSERT_TRUE(recv_msg(channel, &msg), "Error while receiving msg");
189 send_msg(channel, MSG_PONG);
195 send_msg(channel, MSG_WAIT_EVENT_SIGNALED);
198 send_msg(channel, MSG_WAIT_EVENT_CANCELLED);
214 msg_loop(data->channel);
216 send_msg(data->channel, MSG_EXITED);
232 ASSERT_GE(channel_create(&thread1_channel[0], &thread1_channel[1]), 0, "channel creation failed");
233 ASSERT_GE(channel_create(&thread2_channel[0], &thread2_channel[1]), 0, "channel creation failed");