MCPcopy Create free account
hub / github.com/F-Stack/f-stack / redisAeAddWrite

Function redisAeAddWrite

app/redis-6.2.6/src/sentinel.c:328–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328static void redisAeAddWrite(void *privdata) {
329 redisAeEvents *e = (redisAeEvents*)privdata;
330 aeEventLoop *loop = e->loop;
331 if (!e->writing) {
332 e->writing = 1;
333 aeCreateFileEvent(loop,e->fd,AE_WRITABLE,redisAeWriteEvent,e);
334 }
335}
336
337static void redisAeDelWrite(void *privdata) {
338 redisAeEvents *e = (redisAeEvents*)privdata;

Callers

nothing calls this directly

Calls 1

aeCreateFileEventFunction · 0.85

Tested by

no test coverage detected