slamb.org / projects  

sigsafe

sigsafe is a C library for safely, reliably, and promptly handling signals delivered to specific threads without significant overhead. This is a common and challenging problem, and sigsafe can help. Please see the API documentation for examples.

sigsafe includes code, documentation, a performance benchmark, and a correctness tester that exhaustively searches for race conditions with the ptrace(2) facility.

sigsafe contains architecture- and OS-specific assembly code. It is currently available for:

sigsafe is released under the MIT license.

You are welcome to: