Tells the next iteration/s of the event processing to set timeout of 0. */
| 368 | |
| 369 | /* Tells the next iteration/s of the event processing to set timeout of 0. */ |
| 370 | void aeSetDontWait(aeEventLoop *eventLoop, int noWait) { |
| 371 | if (noWait) |
| 372 | eventLoop->flags |= AE_DONT_WAIT; |
| 373 | else |
| 374 | eventLoop->flags &= ~AE_DONT_WAIT; |
| 375 | } |
| 376 | |
| 377 | /* Resize the maximum set size of the event loop. |
| 378 | * If the requested set size is smaller than the current set size, but |