Skip to content

Simplify signal logic so that it is safe and single-threaded

Jeremy Soller requested to merge simpler_signals into master

This creates an atomic bitmask of pending signals, and removes the extra signal handling thread. When a signal arrives, an atomic operation flips a bit in the bitmask. The handling code unflips the bit when it checks for signals, in the main thread.

Merge request reports