| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Fix the transitive closure of this change, including reintroducing
pollset_kick_posix/windows where the latter is just a stub.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
| |
This adds support for eventfd based kicking, with the skeleton of
support for runtime selection between eventfds and pipes.
|
|
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.
|