aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/ev_epoll_linux.c
diff options
context:
space:
mode:
authorGravatar Ken Payson <kpayson@google.com>2016-10-06 19:23:47 -0700
committerGravatar Ken Payson <kpayson@google.com>2016-10-06 19:23:47 -0700
commitbc544be002b864e808cbca54ea64fa9b68262302 (patch)
tree9942f8efbbeaf25f60d113971c69eb6e4e801b82 /src/core/lib/iomgr/ev_epoll_linux.c
parent5b5c8071c6f2a7a7d3b583ab383d061d4e326a00 (diff)
Fix platform detection
Diffstat (limited to 'src/core/lib/iomgr/ev_epoll_linux.c')
-rw-r--r--src/core/lib/iomgr/ev_epoll_linux.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/ev_epoll_linux.c b/src/core/lib/iomgr/ev_epoll_linux.c
index ab77ebc78b..249bc98735 100644
--- a/src/core/lib/iomgr/ev_epoll_linux.c
+++ b/src/core/lib/iomgr/ev_epoll_linux.c
@@ -1892,6 +1892,10 @@ const grpc_event_engine_vtable *grpc_init_epoll_linux(void) {
return NULL;
}
+ if (!grpc_has_wakeup_fd) {
+ return NULL;
+ }
+
if (!is_epoll_available()) {
return NULL;
}