Home
last modified time | relevance | path

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

/external/libmojo/mojo/edk/system/
Dwait_set_dispatcher_unittest.cc42 const scoped_refptr<WaitSetDispatcher>& wait_set, in GetOneReadyDispatcher() argument
48 MojoResult result = wait_set->GetReadyDispatchers( in GetOneReadyDispatcher()
126 scoped_refptr<WaitSetDispatcher> wait_set = new WaitSetDispatcher(); in TEST_F() local
127 CloseOnShutdown(wait_set); in TEST_F()
129 wait_set->AddWaitingDispatcher(dispatcher0_, in TEST_F()
132 wait_set->AddWaitingDispatcher(dispatcher1_, in TEST_F()
141 wait_set->AddAwakable(&w, MOJO_HANDLE_SIGNAL_READABLE, 0, &hss)); in TEST_F()
147 GetOneReadyDispatcher(wait_set, &woken_dispatcher, &context)); in TEST_F()
152 wait_set->AddAwakable(&w, MOJO_HANDLE_SIGNAL_READABLE, 0, &hss)); in TEST_F()
156 GetOneReadyDispatcher(wait_set, &woken_dispatcher, &context)); in TEST_F()
[all …]
/external/libmojo/mojo/public/c/system/
Dthunks.cc161 MojoResult MojoCreateWaitSet(MojoHandle* wait_set) { in MojoCreateWaitSet() argument
163 return g_thunks.CreateWaitSet(wait_set); in MojoCreateWaitSet()
166 MojoResult MojoAddHandle(MojoHandle wait_set, in MojoAddHandle() argument
170 return g_thunks.AddHandle(wait_set, handle, signals); in MojoAddHandle()
173 MojoResult MojoRemoveHandle(MojoHandle wait_set, MojoHandle handle) { in MojoRemoveHandle() argument
175 return g_thunks.RemoveHandle(wait_set, handle); in MojoRemoveHandle()
178 MojoResult MojoGetReadyHandles(MojoHandle wait_set, in MojoGetReadyHandles() argument
184 return g_thunks.GetReadyHandles(wait_set, count, handles, results, in MojoGetReadyHandles()
Dthunks.h107 MojoResult (*CreateWaitSet)(MojoHandle* wait_set);
108 MojoResult (*AddHandle)(MojoHandle wait_set,
111 MojoResult (*RemoveHandle)(MojoHandle wait_set,
113 MojoResult (*GetReadyHandles)(MojoHandle wait_set,
DBUILD.gn20 "wait_set.h",