Home
last modified time | relevance | path

Searched refs:portfd (Results 1 – 1 of 1) sorted by relevance

/f-stack/app/redis-5.0.5/src/
H A Dae_evport.c69 int portfd; /* event port */ member
80 state->portfd = port_create(); in aeApiCreate()
81 if (state->portfd == -1) { in aeApiCreate()
105 close(state->portfd); in aeApiFree()
123 static int aeApiAssociate(const char *where, int portfd, int fd, int mask) { in aeApiAssociate() argument
135 rv = port_associate(portfd, PORT_SOURCE_FD, fd, events, in aeApiAssociate()
180 return (aeApiAssociate("aeApiAddEvent", state->portfd, fd, fullmask)); in aeApiAddEvent()
226 if (port_dissociate(state->portfd, PORT_SOURCE_FD, fd) != 0) { in aeApiDelEvent()
230 } else if (aeApiAssociate("aeApiDelEvent", state->portfd, fd, in aeApiDelEvent()
260 if (aeApiAssociate("aeApiPoll", state->portfd, in aeApiPoll()
[all …]