RFC: Refactor signal
package: signalrefactorRFC
Currently on unix we use a pipe to send signals in handlers, spawn a thread dedicated for checking that pipe and call corresponded waker. Inspired by [signal-hook-registry](https://docs.rs/signal-hook-registry/), it's possible to have a "half lock" within the thread to avoid deadlock, and even completely remove the pipe.
关闭于 2026-03-27 0 条评论