Searched refs:blocking_event (Results 1 – 3 of 3) sorted by relevance
91 MojoTrapEvent blocking_event = {sizeof(blocking_event)}; in Wait() local93 &blocking_event); in Wait()97 *signals_state = blocking_event.signals_state; in Wait()98 return blocking_event.result; in Wait()152 MojoTrapEvent blocking_event = {sizeof(blocking_event)}; in WaitMany() local154 &blocking_event); in WaitMany()165 if (contexts[i]->context_value() == blocking_event.trigger_context) { in WaitMany()167 ready_result = blocking_event.result; in WaitMany()168 ready_state = blocking_event.signals_state; in WaitMany()
210 MojoTrapEvent blocking_event = {sizeof(blocking_event)}; in Arm() local212 &num_blocking_events, &blocking_event); in Arm()216 DCHECK_EQ(context_->value(), blocking_event.trigger_context); in Arm()218 *ready_result = blocking_event.result; in Arm()221 HandleSignalsState(blocking_event.signals_state.satisfied_signals, in Arm()222 blocking_event.signals_state.satisfiable_signals); in Arm()
1583 MojoTrapEvent blocking_event = {sizeof(blocking_event)}; in TEST_F() local1585 MojoArmTrap(t, nullptr, &num_blocking_events, &blocking_event)); in TEST_F()1587 EXPECT_EQ(MOJO_RESULT_OK, blocking_event.result); in TEST_F()1588 ready_contexts.insert(blocking_event.trigger_context); in TEST_F()1702 MojoTrapEvent blocking_event = {sizeof(blocking_event)}; in DoRandomThing() local1705 &blocking_event) == MOJO_RESULT_FAILED_PRECONDITION && in DoRandomThing()1706 blocking_event.result == MOJO_RESULT_OK) { in DoRandomThing()1707 ReadAllMessages(&blocking_event); in DoRandomThing()