3 ms·
libsigsegv[1] has a different manner of dealing with the problem you describe - another way to have your cake and eat it too, but I probably would have just mov
by geocar 9y ago
libsigsegv[1] has a different manner of dealing with the problem you describe - another way to have your cake and eat it too, but I probably would have just moved everything into a separate process.
I don't view a process as a multi-tenancy: These tricks are for people who control main(). The fetish for threads and libraries gains little and costs much, so I have a real aversion to play.
close() isn't even thread-safe[2]. Serious. If you can't get that part of the house right, I don't want to stay the night, let alone live there.
[1]: https://www.gnu.org/software/libsigsegv/ https://www.gnu.org/software/libsigsegv/
[2]: http://geocar.sdf1.org/close.html http://geocar.sdf1.org/close.html