Lines Matching defs:current_thread
40 static ThreadDesc* current_thread = NULL;
187 if (tid == current_tid && current_thread != NULL) {
188 return current_thread;
194 current_thread = thread;
210 if (current_thread == NULL) {
218 current_thread = thread;
219 return current_thread;
223 return current_thread;
327 if (current_thread != NULL && current_thread->process->pid == pid) {
328 current_process = current_thread->process;
465 current_thread = NULL;
597 current_thread = NULL;