equal
deleted
inserted
replaced
226 |
226 |
227 |
227 |
228 /* |
228 /* |
229 * Check previously manipulated event state for FDs ready for reading or writing |
229 * Check previously manipulated event state for FDs ready for reading or writing |
230 */ |
230 */ |
231 inline int Lpushevent(lua_State *L, struct Lpoll_state *state) { |
231 int Lpushevent(lua_State *L, struct Lpoll_state *state) { |
232 #ifdef USE_EPOLL |
232 #ifdef USE_EPOLL |
233 |
233 |
234 if(state->processed > 0) { |
234 if(state->processed > 0) { |
235 state->processed--; |
235 state->processed--; |
236 struct epoll_event event = state->events[state->processed]; |
236 struct epoll_event event = state->events[state->processed]; |