Lines Matching refs:watchers
284 struct uv__queue watchers;
1544 w = loop->watchers[fd];
1583 /* Run signal watchers last. This also affects child process watchers
1584 * because those are implemented in terms of signal watchers.
2379 /* Open the inotify_fd, and re-arm all the inotify watchers. */
2397 uv__queue_init(&tmp_watcher_list.watchers);
2406 uv__queue_move(&watcher_list->watchers, &queue);
2409 handle = uv__queue_data(q, uv_fs_event_t, watchers);
2417 uv__queue_insert_tail(&watcher_list->watchers, q);
2420 uv__queue_insert_tail(&tmp_watcher_list.watchers, &handle->watchers);
2427 uv__queue_move(&tmp_watcher_list.watchers, &queue);
2431 handle = uv__queue_data(q, uv_fs_event_t, watchers);
2452 /* if the watcher_list->watchers is being iterated over, we can't free it. */
2453 if ((!w->iterating) && uv__queue_empty(&w->watchers)) {
2454 /* No watchers left for this path. Clean up. */
2500 continue; /* Stale event, no watchers left. */
2520 uv__queue_move(&w->watchers, &queue);
2523 h = uv__queue_data(q, uv_fs_event_t, watchers);
2526 uv__queue_insert_tail(&w->watchers, q);
2588 uv__queue_init(&w->watchers);
2594 uv__queue_insert_tail(&w->watchers, &handle->watchers);
2615 uv__queue_remove(&handle->watchers);