Crow icon indicating copy to clipboard operation
Crow copied to clipboard

Is app.stop() signal-safe?

Open alex-lt-kong opened this issue 1 year ago • 0 comments

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.

alex-lt-kong avatar Mar 23 '23 05:03 alex-lt-kong