Home
last modified time | relevance | path

Searched refs:thread_id (Results 1 – 25 of 100) sorted by relevance

1234

/external/chromium-trace/trace-viewer/third_party/Paste/paste/debug/
Dwatchthreads.py212 for thread_id, (time_started, worker_environ) in workers:
219 thread.thread_id = thread_id
223 thread.traceback = traceback_thread(thread_id)
246 thread_id = int(vars['thread_id'])
248 if thread_id not in thread_pool.worker_tracker:
251 'any requests' % thread_id)
253 thread_pool.kill_worker(thread_id)
256 headers=[('Location', script_name+'?kill=%s' % thread_id)])
259 def traceback_thread(thread_id): argument
268 if not thread_id in frames:
[all …]
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Dhttpserver.py659 time_started, info = self.worker_tracker.get(worker.thread_id,
701 time_started, info = self.worker_tracker.get(worker.thread_id,
710 for thread_id, (time_killed, worker) in self.dying_threads.items():
711 if not self.thread_exists(thread_id):
714 thread_id)
716 del self.dying_threads[thread_id]
726 def kill_worker(self, thread_id): argument
736 thread_obj = threading._active.get(thread_id)
737 killthread.async_raise(thread_id, SystemExit)
739 del self.worker_tracker[thread_id]
[all …]
/external/compiler-rt/lib/asan/
Dasan_debugging.cc84 static uptr AsanGetStack(uptr addr, uptr *trace, u32 size, u32 *thread_id, in AsanGetStack() argument
93 if (thread_id) *thread_id = chunk.AllocTid(); in AsanGetStack()
97 if (thread_id) *thread_id = chunk.FreeTid(); in AsanGetStack()
126 uptr __asan_get_alloc_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { in __asan_get_alloc_stack() argument
127 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ true); in __asan_get_alloc_stack()
131 uptr __asan_get_free_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { in __asan_get_free_stack() argument
132 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ false); in __asan_get_free_stack()
/external/mesa3d/src/gallium/tests/unit/
Dpipe_barrier_test.c52 int thread_id = *((int *) thread_data); in PIPE_THREAD_ROUTINE() local
54 printf("thread %d starting\n", thread_id); in PIPE_THREAD_ROUTINE()
55 os_time_sleep(thread_id * 1000 * 1000); in PIPE_THREAD_ROUTINE()
56 printf("thread %d before barrier\n", thread_id); in PIPE_THREAD_ROUTINE()
58 printf("thread %d exiting\n", thread_id); in PIPE_THREAD_ROUTINE()
/external/compiler-rt/test/asan/TestCases/
Ddebug_stacks.cc27 int thread_id; in main() local
28 num_frames = __asan_get_alloc_stack(mem, trace, num_frames, &thread_id); in main()
33 fprintf(stderr, "thread id = %d\n", thread_id); in main()
41 num_frames = __asan_get_free_stack(mem, trace, num_frames, &thread_id); in main()
46 fprintf(stderr, "thread id = %d\n", thread_id); in main()
/external/v8/tools/profviz/
Dcomposer.js62 function TimerEvent(label, color, pause, thread_id) { argument
63 assert(thread_id >= 0 && thread_id < kNumThreads, "invalid thread id");
68 this.thread_id = thread_id;
233 var thread_id = new_event.thread_id;
235 start = Math.max(last_time_stamp[thread_id] + kMinRangeLength, start);
238 var last_event = event_stack[thread_id].top();
240 var new_range = new Range(last_time_stamp[thread_id], start);
243 event_stack[thread_id].push(new_event);
244 last_time_stamp[thread_id] = start;
250 var thread_id = finished_event.thread_id;
[all …]
/external/google-breakpad/src/processor/
Dminidump_unittest.cc264 uint32_t thread_id; in TEST() local
265 ASSERT_TRUE(md_thread->GetThreadID(&thread_id)); in TEST()
266 ASSERT_EQ(0xa898f11bU, thread_id); in TEST()
335 uint32_t thread_id; in TEST() local
336 ASSERT_TRUE(md_thread->GetThreadID(&thread_id)); in TEST()
337 ASSERT_EQ(0xa898f11bU, thread_id); in TEST()
378 uint32_t thread_id; in TEST() local
379 ASSERT_TRUE(md_thread->GetThreadID(&thread_id)); in TEST()
380 ASSERT_EQ(0xa898f11bU, thread_id); in TEST()
579 uint32_t thread_id; in TEST() local
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stoptheworld.h37 bool Contains(SuspendedThreadID thread_id) const { in Contains() argument
39 if (thread_ids_[i] == thread_id) in Contains()
44 void Append(SuspendedThreadID thread_id) { in Append() argument
45 thread_ids_.push_back(thread_id); in Append()
/external/google-breakpad/src/client/windows/crash_generation/
Dclient_info.cc41 DWORD* thread_id, in ClientInfo() argument
51 thread_id_(thread_id), in ClientInfo()
149 bool ClientInfo::GetClientThreadId(DWORD* thread_id) const { in GetClientThreadId()
153 thread_id, in GetClientThreadId()
154 sizeof(*thread_id), in GetClientThreadId()
159 return bytes_count == sizeof(*thread_id); in GetClientThreadId()
Dclient_info.h52 DWORD* thread_id,
64 DWORD* thread_id() const { return thread_id_; } in thread_id() function
92 bool GetClientThreadId(DWORD* thread_id) const;
/external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/
Dgki_ulinux.c106 pthread_t thread_id = pthread_self(); in gki_task_entry() local
109 gki_cb.os.thread_id[p_pthread_info->task_id], pthread_self(), in gki_task_entry()
112 gki_cb.os.thread_id[p_pthread_info->task_id] = thread_id; in gki_task_entry()
117 gki_cb.os.thread_id[p_pthread_info->task_id] = 0; in gki_task_entry()
267 ret = pthread_create( &gki_cb.os.thread_id[task_id], in GKI_create_task()
278 if(pthread_getschedparam(gki_cb.os.thread_id[task_id], &policy, &param)==0) in GKI_create_task()
292 pthread_setschedparam(gki_cb.os.thread_id[task_id], policy, &param); in GKI_create_task()
298 gki_cb.os.thread_id[task_id], in GKI_create_task()
351 result = pthread_join( gki_cb.os.thread_id[task_id-1], NULL ); in GKI_shutdown()
738 gki_cb.os.thread_id[rtask] = 0; in GKI_wait()
[all …]
/external/libnfc-nci/src/gki/ulinux/
Dgki_ulinux.c103 pthread_t thread_id = pthread_self(); in gki_task_entry() local
106 gki_cb.os.thread_id[p_pthread_info->task_id], pthread_self(), in gki_task_entry()
109 gki_cb.os.thread_id[p_pthread_info->task_id] = thread_id; in gki_task_entry()
114 gki_cb.os.thread_id[p_pthread_info->task_id] = 0; in gki_task_entry()
264 ret = pthread_create( &gki_cb.os.thread_id[task_id], in GKI_create_task()
275 if(pthread_getschedparam(gki_cb.os.thread_id[task_id], &policy, &param)==0) in GKI_create_task()
289 pthread_setschedparam(gki_cb.os.thread_id[task_id], policy, &param); in GKI_create_task()
295 gki_cb.os.thread_id[task_id], in GKI_create_task()
351 result = pthread_join( gki_cb.os.thread_id[task_id-1], NULL ); in GKI_shutdown()
715 gki_cb.os.thread_id[rtask] = 0; in GKI_wait()
[all …]
/external/valgrind/helgrind/tests/
Dtc03_re_excl.c25 pthread_t thread_id; in main() local
30 pthread_create(&thread_id, 0, worker_thread, (void*)x); in main()
36 pthread_join(thread_id, 0); in main()
/external/compiler-rt/test/lsan/TestCases/
Dcleanup_in_tsd_destructor.cc37 pthread_t thread_id; in main() local
38 res = pthread_create(&thread_id, 0, thread_func, 0); in main()
40 res = pthread_join(thread_id, 0); in main()
Ddisabler_in_tsd_destructor.cc32 pthread_t thread_id; in main() local
33 res = pthread_create(&thread_id, 0, thread_func, 0); in main()
35 res = pthread_join(thread_id, 0); in main()
Duse_stacks_threaded.cc27 pthread_t thread_id; in main() local
28 int res = pthread_create(&thread_id, 0, stacks_thread_func, &sync); in main()
Dleak_check_before_thread_started.cc17 pthread_t thread_id; in create_detached_thread() local
25 int res = pthread_create(&thread_id, &attr, func, arg); in create_detached_thread()
Duse_registers.cc42 pthread_t thread_id; in main() local
43 int res = pthread_create(&thread_id, 0, registers_thread_func, &sync); in main()
/external/lldb/include/lldb/Target/
DThreadSpec.h85 TIDMatches (lldb::tid_t thread_id) const in TIDMatches() argument
87 if (m_tid == LLDB_INVALID_THREAD_ID || thread_id == LLDB_INVALID_THREAD_ID) in TIDMatches()
90 return thread_id == m_tid; in TIDMatches()
/external/google-breakpad/src/client/ios/handler/
Dios_exception_minidump_generator.mm145 exception_ptr->thread_id = pthread_mach_thread_np(pthread_self());
162 bool IosExceptionMinidumpGenerator::WriteThreadStream(mach_port_t thread_id,
165 if (pthread_mach_thread_np(pthread_self()) != thread_id)
166 return MinidumpGenerator::WriteThreadStream(thread_id, thread);
203 thread->thread_id = thread_id;
206 return MinidumpGenerator::WriteThreadStream(thread_id, thread);
/external/v8/test/cctest/
Dtest-threads.cc137 i::ThreadId thread_id = i::ThreadId::Current(); in Run() local
139 CHECK(!(*refs_)[i].Equals(thread_id)); in Run()
141 CHECK(thread_id.IsValid()); in Run()
142 (*refs_)[thread_no_] = thread_id; in Run()
/external/valgrind/coregrind/m_gdbserver/
Dinferiors.c98 void add_thread (unsigned long thread_id, void *target_data, unsigned int gdb_id) in add_thread() argument
105 new_thread->entry.id = thread_id; in add_thread()
117 unsigned int thread_id_to_gdb_id (unsigned long thread_id) in thread_id_to_gdb_id() argument
123 if (inf->id == thread_id) in thread_id_to_gdb_id()
/external/google-breakpad/src/client/windows/common/
Dipc_protocol.h108 thread_id(0), in ProtocolMessage()
131 thread_id(arg_thread_id), in ProtocolMessage()
151 DWORD* thread_id; member
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stoptheworld_testlib.cc48 pthread_t thread_id; in StopTheWorldTestLibConstructor() local
49 pthread_create(&thread_id, NULL, SuspenderThread, NULL); in StopTheWorldTestLibConstructor()
/external/protobuf/src/google/protobuf/stubs/
Dcommon.cc251 DWORD thread_id; member
268 mInternal->thread_id = GetCurrentThreadId(); in Lock()
274 mInternal->thread_id = 0; in Unlock()
281 GOOGLE_DCHECK_EQ(mInternal->thread_id, GetCurrentThreadId()); in AssertHeld()

1234