Lines Matching defs:queue
1477 * other locations like uv__work_done() can determine whether the queue
2384 struct uv__queue queue;
2398 /* Note that the queue we use is shared with the start and stop()
2406 uv__queue_move(&watcher_list->watchers, &queue);
2407 while (!uv__queue_empty(&queue)) {
2408 q = uv__queue_head(&queue);
2427 uv__queue_move(&tmp_watcher_list.watchers, &queue);
2428 while (!uv__queue_empty(&queue)) {
2429 q = uv__queue_head(&queue);
2468 struct uv__queue queue;
2508 /* We're about to iterate over the queue and call user's callbacks.
2511 * and the queue can change under our feet.
2512 * So, we use uv__queue_move() trick to safely iterate over the queue.
2520 uv__queue_move(&w->watchers, &queue);
2521 while (!uv__queue_empty(&queue)) {
2522 q = uv__queue_head(&queue);