Index: mojo/public/platform/native/system_thunks.h |
diff --git a/mojo/public/platform/native/system_thunks.h b/mojo/public/platform/native/system_thunks.h |
index bb6ca96429ccd71594d65f2718ad27f9c617a95f..8c8ea1e578aaea652cd09d6495c38c8380f4da46 100644 |
--- a/mojo/public/platform/native/system_thunks.h |
+++ b/mojo/public/platform/native/system_thunks.h |
@@ -101,6 +101,18 @@ struct MojoSystemThunks { |
void** buffer, |
MojoMapBufferFlags flags); |
MojoResult (*UnmapBuffer)(void* buffer); |
+ |
+ MojoResult (*CreateWaitSet)(MojoHandle* wait_set); |
+ MojoResult (*AddHandle)(MojoHandle wait_set, |
+ MojoHandle handle, |
+ MojoHandleSignals signals); |
+ MojoResult (*RemoveHandle)(MojoHandle wait_set, |
+ MojoHandle handle); |
+ MojoResult (*GetReadyHandles)(MojoHandle wait_set, |
+ uint32_t* count, |
+ MojoHandle* handles, |
+ MojoResult* results, |
+ struct MojoHandleSignalsState* signals_states); |
}; |
#pragma pack(pop) |
@@ -127,7 +139,11 @@ inline MojoSystemThunks MojoMakeSystemThunks() { |
MojoCreateSharedBuffer, |
MojoDuplicateBufferHandle, |
MojoMapBuffer, |
- MojoUnmapBuffer}; |
+ MojoUnmapBuffer, |
+ MojoCreateWaitSet, |
+ MojoAddHandle, |
+ MojoRemoveHandle, |
+ MojoGetReadyHandles}; |
return system_thunks; |
} |
#endif |