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