Revision ee77dfb2 main-loop.c
b/main-loop.c | ||
---|---|---|
164 | 164 |
|
165 | 165 |
#else /* _WIN32 */ |
166 | 166 |
|
167 |
HANDLE qemu_event_handle; |
|
167 |
HANDLE qemu_event_handle = NULL;
|
|
168 | 168 |
|
169 | 169 |
static void dummy_event_handler(void *opaque) |
170 | 170 |
{ |
... | ... | |
183 | 183 |
|
184 | 184 |
void qemu_notify_event(void) |
185 | 185 |
{ |
186 |
if (!qemu_event_handle) { |
|
187 |
return; |
|
188 |
} |
|
186 | 189 |
if (!SetEvent(qemu_event_handle)) { |
187 | 190 |
fprintf(stderr, "qemu_notify_event: SetEvent failed: %ld\n", |
188 | 191 |
GetLastError()); |
Also available in: Unified diff