This is a very interesting article if you want to know how signals work within t...

@gabrielesvelto@mas.to

This is a very interesting article if you want to know how signals work within the kernel. It also reminds me that at its core a Unix signal is a very simple communication mechanism between the kernel and a process or between processes. That's it: you send a signal and some code is executed on the other side with the signal number as a parameter (and some other limited information). Their nature however makes supporting them quite convoluted and hard to handle properly. It's the kind of thing that makes me want to step back and rethink this mechanism, because there is surely a better way that's not bound by the design constraints of programming in the '70s.

vulpinecitrus.info/blog/what-i