The posix.onSignal function, as well as the raw sigaction, have a very limited 
list of functions you can call in the handler; in particular no heap allocation 
is a big one. Is there any way to achieve safe signal handling in Nim without 
these limitations? My application has a socket server running, so what I'm 
thinking is to send to that but I'm not sure if Nim's net is itself async 
socket safe

Reply via email to