3 ms·
Signal handling in POSIX breaks multithreading in practice because it is so crazy hard to get right (I would be surprised if more than 50% of the code out there
by gmueckl 8y ago
Signal handling in POSIX breaks multithreading in practice because it is so crazy hard to get right (I would be surprised if more than 50% of the code out there does it right).
Can you link to the libc maintainer responses? I would like to know how they countered you exactly.
- quotemstr 8y ago> Signal handling in POSIX breaks multithreading in practice because it is so crazy hard to get right In my experience, it's pretty easy to write async-signal-safe code --- which is almost always also thread-safe --- if you follow a few simple rules. I don't understand why people have so much difficulty writing correct signal handlers.