Use fetch_add instead of CAS when setting sigmask.
This makes sigprocmask, the way it is currently implemented, wait-free (technically I think x86 only guarantees LOCK XADD is lock-free and fair, but still).
Loading
Please register or sign in to comment