Hacker News new | ask | show | jobs
by inigyou 95 days ago
Incorrect. With the separate thread approach you added a lot of new race conditions.
1 comments

In practice I don't think there would be that many. You could even pause execution of the thread that would have gotten the signal to make it even safer.