Lines Matching refs:ready
186 thread_list_free (m, &m->ready);
370 thread_list_delete (&thread->master->ready, thread);
482 int ready = 0;
493 thread_list_add (&m->ready, thread);
495 ready++;
498 return ready;
501 /* Fetch next ready thread. */
506 int ready;
535 /* If there are any ready threads, process top of them. */
536 if ((thread = thread_trim_head (&m->ready)) != NULL)
563 ready = thread_process_fd (m, &m->read, &readfd, &m->readfd);
566 ready = thread_process_fd (m, &m->write, &writefd, &m->writefd);
568 if ((thread = thread_trim_head (&m->ready)) != NULL)