Lines Matching refs:THREAD_NULL
432 if (thread == THREAD_NULL)
485 while ((thread = (thread_t)dequeue_head(&thread_terminate_queue)) != THREAD_NULL) {
571 while ((thread = (thread_t)dequeue_head(&thread_stack_queue)) != THREAD_NULL) {
651 static thread_t first_thread = THREAD_NULL;
656 if (first_thread == THREAD_NULL)
659 if (new_thread == THREAD_NULL)
1087 return (THREAD_NULL);
1106 if (thread == THREAD_NULL)
1291 quantum_time = SCHED(initial_quantum_size)(THREAD_NULL);
1699 return (thread != THREAD_NULL? thread->thread_id: 0);
1718 if (thread != THREAD_NULL) {
1739 if (thread != THREAD_NULL)
1755 if (thread != THREAD_NULL)
1763 if (thread != THREAD_NULL)
1771 if (thread != THREAD_NULL)
1779 if (thread != THREAD_NULL)
1787 if (thread != THREAD_NULL)
1795 if (thread != THREAD_NULL) {
1810 if (thread != THREAD_NULL)
1816 if (thread != THREAD_NULL)
1822 if (thread != THREAD_NULL)
1828 if (thread != THREAD_NULL) {
1840 if (thread != THREAD_NULL) {