mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
make gotsig volatile. from Alexander von Gernler
svn:r149
This commit is contained in:
parent
5e2ba12a89
commit
1d0d4bc66e
2
event.c
2
event.c
@ -108,7 +108,7 @@ struct event_base *current_base = NULL;
|
||||
|
||||
/* Handle signals - This is a deprecated interface */
|
||||
int (*event_sigcb)(void); /* Signal callback when gotsig is set */
|
||||
int event_gotsig; /* Set in signal handler */
|
||||
volatile int event_gotsig; /* Set in signal handler */
|
||||
|
||||
/* Prototypes */
|
||||
static void event_queue_insert(struct event_base *, struct event *, int);
|
||||
|
Loading…
x
Reference in New Issue
Block a user