Home
last modified time | relevance | path

Searched refs:ready_handles (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/mojo/public/cpp/system/tests/
Dwait_set_unittest.cc67 Handle ready_handles[2]; in TEST_F() local
70 wait_set.Wait(nullptr, &num_ready_handles, ready_handles, ready_results, hss); in TEST_F()
73 EXPECT_EQ(p.handle1.get(), ready_handles[0]); in TEST_F()
87 wait_set.Wait(nullptr, &num_ready_handles, ready_handles, ready_results, hss); in TEST_F()
90 EXPECT_EQ(p.handle0.get(), ready_handles[0]); in TEST_F()
100 wait_set.Wait(nullptr, &num_ready_handles, ready_handles, ready_results, hss); in TEST_F()
102 EXPECT_TRUE((ready_handles[0] == p.handle0.get() && in TEST_F()
103 ready_handles[1] == p.handle1.get()) || in TEST_F()
104 (ready_handles[0] == p.handle1.get() && in TEST_F()
105 ready_handles[1] == p.handle0.get())); in TEST_F()
[all …]
/external/libchrome/mojo/public/cpp/system/
Dwait_set.cc133 Handle* ready_handles, in Wait() argument
138 DCHECK(ready_handles); in Wait()
213 ready_handles[i] = it->first; in Wait()
358 Handle* ready_handles, in Wait() argument
361 state_->Wait(ready_event, num_ready_handles, ready_handles, ready_results, in Wait()
Dwait_set.h109 Handle* ready_handles,
/external/python/cpython3/Lib/multiprocessing/
Dconnection.py833 ready_handles = set()
868 ready_handles = _exhaustive_wait(waithandle_to_obj.keys(), timeout)
891 ready_objects.update(waithandle_to_obj[h] for h in ready_handles)