Searched refs:thread2_channel (Results 1 - 1 of 1) sorted by relevance

/fuchsia/zircon/system/utest/core/handle-wait/
H A Dhandle-wait.c63 static zx_handle_t thread2_channel[2]; variable
233 ASSERT_GE(channel_create(&thread2_channel[0], &thread2_channel[1]), 0, "channel creation failed");
236 thread_data_t thread2_data = {2, thread2_channel[1]};
257 send_msg(thread2_channel[0], MSG_PING);
258 ASSERT_TRUE(recv_msg(thread2_channel[0], &msg), "Error while receiving msg");
279 send_msg(thread2_channel[0], MSG_EXIT);

Completed in 23 milliseconds