Crow
Crow copied to clipboard
Is app.stop() signal-safe?
My program has a few threads and Crow is one of them. The issue is, when I need to quit other threads, I use signal handler to set a flag value, which works fine.
Currently I call
app.stop();
in my signal handler to quit Crow as well. I read through Corw's document, it is not clear whether it is async-signal-safe as described here.