2 ms·
That is also good, but requires apps be rewritten to read from signalfd. With the separate thread approach you can get away without having to rewrite programs.
by charcircuit 1mo ago
That is also good, but requires apps be rewritten to read from signalfd. With the separate thread approach you can get away without having to rewrite programs.
- inigyou 1mo agoIncorrect. With the separate thread approach you added a lot of new race conditions.
- charcircuit 1mo agoIn 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.