Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1505)

Unified Diff: mojo/public/platform/native/system_thunks.h

Issue 1461213002: WaitSet implementation for old EDK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-waitset-skeleton
Patch Set: Fix windows build and style issues. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/c/system/wait_set.h ('k') | mojo/public/platform/native/system_thunks.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « mojo/public/c/system/wait_set.h ('k') | mojo/public/platform/native/system_thunks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698