smol-rs / async-signal

Asynchronous signal handling
Apache License 2.0
15 stars 6 forks source link

Use EVFILT_SIGNAL for kqueue-enabled systems #4

Closed notgull closed 11 months ago

notgull commented 1 year ago

kqueue supports EVFILT_SIGNAL, which would allow us to wait on a signal without needing to use a pipe. I'm working on exposing this functionality in async-io via smol-rs/async-io#112. However, this would require setting up an executor to listen for signals.

notgull commented 11 months ago

Not really needed and it might have surprising behavior that I don't want to deal with.