aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/iomgr/pollset_kick.h
Commit message (Collapse)AuthorAge
* Rename wakeup_fd.[hc] to wakeup_fd_posix.[hc]Gravatar David Klempner2015-01-26
| | | | | Fix the transitive closure of this change, including reintroducing pollset_kick_posix/windows where the latter is just a stub.
* Refactor the pipe/eventfd abstractionGravatar David Klempner2015-01-26
| | | | | | | | | | | | 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).
* Add support for eventfd based kicking on linux.Gravatar David Klempner2015-01-21
| | | | | This adds support for eventfd based kicking, with the skeleton of support for runtime selection between eventfds and pipes.
* Factor out the pollset kicking mechanism and eliminate shardingGravatar David Klempner2015-01-16
This change pulls out a separate pollset_kick module, which currently uses a freelist of pipes dynamically assigned to pollsets when they enter polling rather than the previous racy sharding mechanism. We ultimately may wish to eliminate the dynamic assignment for multipoll sets, but this should be sufficient for the moment.