aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/iomgr
diff options
context:
space:
mode:
authorGravatar David Klempner <klempner@google.com>2015-01-26 15:02:51 -0800
committerGravatar David Klempner <klempner@google.com>2015-01-26 15:02:51 -0800
commit78dc6cdaeb533cb03cd8a3b3bea6e6d7847083aa (patch)
treeb081c89172b5dcb21847ab14c6fd19986a24c881 /test/core/iomgr
parentdbb4f942d05321e7c29f67ee1057aca7238d1f3a (diff)
Refactor the pipe/eventfd abstraction
This introduces the wakeup fd interface, corresponding approximately to the existing Google version, complete with a ported giant detailed usage comment. The implementation has two layers, "specialized" and "fallback". The specialized layer is intended to be a suitable platform specific implementation like eventfd, whereas "fallback" is probably pipe, with runtime detection of whether the specialized version works on this system (currently stubbed out).
Diffstat (limited to 'test/core/iomgr')
-rw-r--r--test/core/iomgr/poll_kick_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/iomgr/poll_kick_test.c b/test/core/iomgr/poll_kick_test.c
index b1d134d746..3c6d815c9d 100644
--- a/test/core/iomgr/poll_kick_test.c
+++ b/test/core/iomgr/poll_kick_test.c
@@ -122,7 +122,7 @@ int main(int argc, char **argv) {
run_tests();
grpc_pollset_kick_global_destroy();
- grpc_pollset_kick_global_init_posix();
+ grpc_pollset_kick_global_init_fallback_fd();
run_tests();
grpc_pollset_kick_global_destroy();
return 0;