|
|
@ -1030,6 +1030,12 @@ static const grpc_event_engine_vtable vtable = { |
|
|
|
/* It is possible that GLIBC has epoll but the underlying kernel doesn't.
|
|
|
|
/* It is possible that GLIBC has epoll but the underlying kernel doesn't.
|
|
|
|
* Create a dummy epoll_fd to make sure epoll support is available */ |
|
|
|
* Create a dummy epoll_fd to make sure epoll support is available */ |
|
|
|
const grpc_event_engine_vtable *grpc_init_epoll1_linux(bool explicit_request) { |
|
|
|
const grpc_event_engine_vtable *grpc_init_epoll1_linux(bool explicit_request) { |
|
|
|
|
|
|
|
/* TODO(sreek): Temporarily disable this poller unless explicitly requested
|
|
|
|
|
|
|
|
* via GRPC_POLL_STRATEGY */ |
|
|
|
|
|
|
|
if (!explicit_request) { |
|
|
|
|
|
|
|
return NULL; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (!grpc_has_wakeup_fd()) { |
|
|
|
if (!grpc_has_wakeup_fd()) { |
|
|
|
return NULL; |
|
|
|
return NULL; |
|
|
|
} |
|
|
|
} |
|
|
|