diff options
Diffstat (limited to 'mojo/edk/embedder/entrypoints.cc')
-rw-r--r-- | mojo/edk/embedder/entrypoints.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mojo/edk/embedder/entrypoints.cc b/mojo/edk/embedder/entrypoints.cc index 102b25f..23b919d 100644 --- a/mojo/edk/embedder/entrypoints.cc +++ b/mojo/edk/embedder/entrypoints.cc @@ -42,6 +42,17 @@ MojoResult MojoWaitMany(const MojoHandle* handles, signals_states); } +MojoResult MojoWatch(MojoHandle handle, + MojoHandleSignals signals, + MojoWatchCallback callback, + uintptr_t context) { + return g_core->Watch(handle, signals, callback, context); +} + +MojoResult MojoCancelWatch(MojoHandle handle, uintptr_t context) { + return g_core->CancelWatch(handle, context); +} + MojoResult MojoCreateWaitSet(MojoHandle* wait_set_handle) { return g_core->CreateWaitSet(wait_set_handle); } |