ITADN

RFC: Refactor signal

#799ClosedGeorge-Miao 创建于 2026-03-26
package: signalrefactorRFC
G
George-Miaocommented
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 条评论