On 9/8/06, Adam Olsen email@example.com wrote:
Ensuring modifications to that array are atomic would be tricky, but I think it would be doable if we use a read-copy-update approach (with two alternating signal handler functions). Not sure how to ensure there's no currently running signal handlers in another thread though. Maybe have to rip the atomic read/write stuff out of the Linux sources to ensure it's *always* defined behavior.
Doh, except that's exactly what sig_atomic_t is for. Ah well, can't win them all.