Searched refs:wait_events (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/kernel/poll/src/ |
D | test_poll.c | 200 struct k_poll_event wait_events[] = { variable 287 zassert_equal(wait_events[2].state, in check_results() 291 zassert_equal(wait_events[2].tag, TAG_2, ""); in check_results() 301 zassert_equal(wait_events[3].state, K_POLL_STATE_NOT_READY, ""); in check_results() 384 k_poll_event_init(&wait_events[4], in ZTEST() 388 wait_events[4].tag = TAG_3; in ZTEST() 410 rc = k_poll(wait_events, ARRAY_SIZE(wait_events), K_NO_WAIT); in ZTEST() 413 rc = k_poll(wait_events, ARRAY_SIZE(wait_events), K_SECONDS(1)); in ZTEST() 420 check_results(&wait_events[0], K_POLL_TYPE_SEM_AVAILABLE, true); in ZTEST() 421 check_results(&wait_events[1], K_POLL_TYPE_DATA_AVAILABLE, true); in ZTEST() [all …]
|