Lines Matching refs:watchers
119 assert(loop->watchers != NULL);
122 events = (struct port_event*) loop->watchers[loop->nwatchers];
123 nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1];
283 assert(loop->watchers != NULL);
284 loop->watchers[loop->nwatchers] = (void*) events;
285 loop->watchers[loop->nwatchers + 1] = (void*) (uintptr_t) nfds;
297 w = loop->watchers[fd];
303 /* Run signal watchers last. This also affects child process watchers
304 * because those are implemented in terms of signal watchers.
315 if (w != loop->watchers[fd])
333 loop->watchers[loop->nwatchers] = NULL;
334 loop->watchers[loop->nwatchers + 1] = NULL;