Lines Matching refs:THREAD_NULL
384 if (thread == THREAD_NULL)
427 while ((thread = (thread_t)dequeue_head(&thread_terminate_queue)) != THREAD_NULL) {
495 while ((thread = (thread_t)dequeue_head(&thread_stack_queue)) != THREAD_NULL) {
863 return (THREAD_NULL);
880 if (thread == THREAD_NULL)
1304 if (thread != THREAD_NULL)
1320 if (thread != THREAD_NULL)
1328 if (thread != THREAD_NULL)
1336 if (thread != THREAD_NULL)
1344 if (thread != THREAD_NULL)
1352 if (thread != THREAD_NULL)
1361 if (thread != THREAD_NULL) {
1366 if (thread != THREAD_NULL) {
1382 if (thread != THREAD_NULL)
1388 if (thread != THREAD_NULL)
1394 if (thread != THREAD_NULL)
1400 if (thread != THREAD_NULL) {
1412 if (thread != THREAD_NULL) {