This function is called immediately after the event loop multiplexing * API returned, and the control is going to soon return to Redis by invoking * the different events callbacks. */
| 2468 | * API returned, and the control is going to soon return to Redis by invoking |
| 2469 | * the different events callbacks. */ |
| 2470 | void afterSleep(struct aeEventLoop *eventLoop) { |
| 2471 | UNUSED(eventLoop); |
| 2472 | |
| 2473 | /* Do NOT add anything above moduleAcquireGIL !!! */ |
| 2474 | |
| 2475 | /* Aquire the modules GIL so that their threads won't touch anything. */ |
| 2476 | if (!ProcessingEventsWhileBlocked) { |
| 2477 | if (moduleCount()) moduleAcquireGIL(); |
| 2478 | } |
| 2479 | } |
| 2480 | |
| 2481 | /* =========================== Server initialization ======================== */ |
| 2482 |
nothing calls this directly
no test coverage detected