MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / aeSetBeforeSleepProc

Function aeSetBeforeSleepProc

src/ae.cpp:832–835  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

830}
831
832void aeSetBeforeSleepProc(aeEventLoop *eventLoop, aeBeforeSleepProc *beforesleep, int flags) {
833 eventLoop->beforesleep = beforesleep;
834 eventLoop->beforesleepFlags = flags;
835}
836
837void aeSetAfterSleepProc(aeEventLoop *eventLoop, aeBeforeSleepProc *aftersleep, int flags) {
838 eventLoop->aftersleep = aftersleep;

Callers 1

initServerThreadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected