diff options
author | 2015-01-21 17:45:18 -0800 | |
---|---|---|
committer | 2015-01-21 17:45:18 -0800 | |
commit | dbb4f942d05321e7c29f67ee1057aca7238d1f3a (patch) | |
tree | e80c26396767722f6bd1dfef041fba0a271b4a3d /src/core/iomgr/pollset_kick.h | |
parent | 85eea08ba8109dc9bd2b798146a5140342505f77 (diff) |
Add support for eventfd based kicking on linux.
This adds support for eventfd based kicking, with the skeleton of
support for runtime selection between eventfds and pipes.
Diffstat (limited to 'src/core/iomgr/pollset_kick.h')
-rw-r--r-- | src/core/iomgr/pollset_kick.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/iomgr/pollset_kick.h b/src/core/iomgr/pollset_kick.h index f088818b9a..4459a31b4f 100644 --- a/src/core/iomgr/pollset_kick.h +++ b/src/core/iomgr/pollset_kick.h @@ -48,6 +48,10 @@ void grpc_pollset_kick_global_init(void); void grpc_pollset_kick_global_destroy(void); +/* Guarantees a pure posix implementation rather than a specialized one, if + * applicable. Intended for testing. */ +void grpc_pollset_kick_global_init_posix(void); + void grpc_pollset_kick_init(grpc_pollset_kick_state *kick_state); void grpc_pollset_kick_destroy(grpc_pollset_kick_state *kick_state); |