Lines Matching defs:thread
291 // record thread information
357 thread_id thread = find_thread(NULL);
358 return fDebugArray[thread % fMaxThreads] > 0;
366 /* this array does not need to be locked because each running thread */
371 /* array. If register thread is ever called and the count is not 0 then */
386 thread_id thread = find_thread(NULL);
388 if (fDebugArray[thread % fMaxThreads] != 0)
391 fDebugArray[thread % fMaxThreads]++;
398 thread_id thread = find_thread(NULL);
400 ASSERT(fDebugArray[thread % fMaxThreads] == 1);
401 fDebugArray[thread % fMaxThreads]--;