Lines Matching refs:bye
95 static int bye = 0; /* Force clean shutdown flag. */
449 while (bye == 0 && numthreads >= MAXTHREADS)
451 if (bye)
488 * variable bye and the timeout value to SHUTDOWN_TIMEOUT and wake every
489 * body up. Threads blocked in new_worker_thread will see bye is set and exit.
522 bye = 1;
559 * until bye was set to 1 by the shutdown thread (telling
563 while ((rv == 0 || numthreads > 1) && bye < 2) {
566 * If the shutdown thread has told us to exit (bye == 1),
567 * then increment bye so that we will exit after
570 if (bye)
571 bye++;
586 * our caches. It quits if bye >= 1, meaning we're shutting
595 if (bye >= 1) {