Searched refs:current_thread (Results 1 – 4 of 4) sorted by relevance
/external/valgrind/main/exp-bbv/ |
D | bbv_main.c | 74 static Int current_thread=0; variable 167 if (bbv_thread[current_thread].dyn_instr > interval_size) { in handle_overflow() 172 if (bbv_thread[current_thread].bbtrace_fd < 0) { in handle_overflow() 173 bbv_thread[current_thread].bbtrace_fd=open_tracefile(current_thread); in handle_overflow() 178 VG_(write)(bbv_thread[current_thread].bbtrace_fd,"T",1); in handle_overflow() 182 if ( bb_elem->inst_counter[current_thread] != 0 ) { in handle_overflow() 185 bb_elem->inst_counter[current_thread]); in handle_overflow() 186 VG_(write)(bbv_thread[current_thread].bbtrace_fd, in handle_overflow() 188 bb_elem->inst_counter[current_thread] = 0; in handle_overflow() 192 VG_(write)(bbv_thread[current_thread].bbtrace_fd,"\n",1); in handle_overflow() [all …]
|
/external/qemu/memcheck/ |
D | memcheck_proc_management.c | 35 static ThreadDesc* current_thread = NULL; variable 182 if (tid == current_tid && current_thread != NULL) { in get_thread_from_tid() 183 return current_thread; in get_thread_from_tid() 189 current_thread = thread; in get_thread_from_tid() 205 if (current_thread == NULL) { in get_current_thread() 213 current_thread = thread; in get_current_thread() 214 return current_thread; in get_current_thread() 218 return current_thread; in get_current_thread() 322 if (current_thread != NULL && current_thread->process->pid == pid) { in get_process_from_pid() 323 current_process = current_thread->process; in get_process_from_pid() [all …]
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | thread.cc | 389 Thread *current_thread = Thread::Current(); in Send() local 390 ASSERT(current_thread != NULL); // AutoThread ensures this in Send() 397 smsg.thread = current_thread; in Send() 410 current_thread->ReceiveSends(); in Send() 411 current_thread->socketserver()->Wait(kForever, false); in Send() 427 current_thread->socketserver()->WakeUp(); in Send()
|
/external/qemu/distrib/sdl-1.2.12/src/video/quartz/ |
D | SDL_QuartzVideo.m | 973 pthread_t current_thread; 977 current_thread = pthread_self (); 978 pthread_getschedparam (current_thread, &policy, ¶m); 981 pthread_setschedparam (current_thread, policy, ¶m);
|