Is it possible to trap Linux signals (e.g. SIGUSR1) through an handler in Erlang? (without having to resort to a driver crafted in C)
Join Stack Overflow to learn, share knowledge, and build your career.
|
(NOT A REAL ANSWER) In 2001 someone asked:
At that time the answer was:
SOURCE: http://www.erlang.org/pipermail/erlang-questions/2001-October/003752.html As far as I know, nothing changed since then. But this is extremely interesting. If anyone has any news about this, please let us know :) |
|||
|
|
|
There is a pull request that adds an event manager for signals. It's not merged yet, but it might make it into Erlang/OTP 20, due to be released in June 2017. |
|||
|
|