mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
volatile for signal, see #950
This commit is contained in:
@@ -33,7 +33,7 @@ struct worker_parm {
|
||||
int weight;
|
||||
};
|
||||
|
||||
static int SIG = 0;
|
||||
static volatile int SIG = 0;
|
||||
|
||||
static void
|
||||
handle_hup(int signal) {
|
||||
|
||||
Reference in New Issue
Block a user