Hacker News new | ask | show | jobs
by pjc50 4252 days ago
Conclusion: hardly anyone uses realtime signals, and if they do they have no way of testing that they actually get the desired preemption behavior.

(I've used them once to workaround per-thread signal masking not behaving well for non-realtime signals)

2 comments

I would not have that take-away.. I would instead say that probably most of the users of the signal features described in the article are not concerned with making their code cross-platform.
> (I've used them once to workaround per-thread signal masking not behaving well for non-realtime signals)

Do you remember what the misbehavior was? I ask because I actually work with these kinds of things.