… | |
… | |
1351 | char dummy; |
1351 | char dummy; |
1352 | /* see discussion in evpipe_write when you think this read should be recv in win32 */ |
1352 | /* see discussion in evpipe_write when you think this read should be recv in win32 */ |
1353 | read (evpipe [0], &dummy, 1); |
1353 | read (evpipe [0], &dummy, 1); |
1354 | } |
1354 | } |
1355 | |
1355 | |
|
|
1356 | #if EV_SIGNAL_ENABLE |
1356 | if (sig_pending) |
1357 | if (sig_pending) |
1357 | { |
1358 | { |
1358 | sig_pending = 0; |
1359 | sig_pending = 0; |
1359 | |
1360 | |
1360 | for (i = EV_NSIG - 1; i--; ) |
1361 | for (i = EV_NSIG - 1; i--; ) |
1361 | if (expect_false (signals [i].pending)) |
1362 | if (expect_false (signals [i].pending)) |
1362 | ev_feed_signal_event (EV_A_ i + 1); |
1363 | ev_feed_signal_event (EV_A_ i + 1); |
1363 | } |
1364 | } |
|
|
1365 | #endif |
1364 | |
1366 | |
1365 | #if EV_ASYNC_ENABLE |
1367 | #if EV_ASYNC_ENABLE |
1366 | if (async_pending) |
1368 | if (async_pending) |
1367 | { |
1369 | { |
1368 | async_pending = 0; |
1370 | async_pending = 0; |