HomeSort by relevance Sort by last modified time
    Searched refs:thread_id (Results 1 - 25 of 201) sorted by null

1 2 3 4 5 6 7 8 9

  /external/mesa3d/src/gallium/tests/unit/
pipe_barrier_test.c 52 int thread_id = *((int *) thread_data); local
54 printf("thread %d starting\n", thread_id);
55 os_time_sleep(thread_id * 1000 * 1000);
56 printf("thread %d before barrier\n", thread_id);
58 printf("thread %d exiting\n", thread_id);
  /external/valgrind/helgrind/tests/
tc03_re_excl.c 25 pthread_t thread_id; local
30 pthread_create(&thread_id, 0, worker_thread, (void*)x);
36 pthread_join(thread_id, 0);
  /prebuilts/go/darwin-x86/misc/cgo/test/
cthread_windows.c 27 uintptr_t thread_id[MaxThread]; local
32 thread_id[i] = _beginthreadex(0, 0, addThread, &max, 0, 0);
34 WaitForSingleObject((HANDLE)thread_id[i], INFINITE);
35 CloseHandle((HANDLE)thread_id[i]);
cthread_unix.c 26 pthread_t thread_id[MaxThread]; local
31 pthread_create(&thread_id[i], 0, addThread, &max);
33 pthread_join(thread_id[i], 0);
  /prebuilts/go/linux-x86/misc/cgo/test/
cthread_windows.c 27 uintptr_t thread_id[MaxThread]; local
32 thread_id[i] = _beginthreadex(0, 0, addThread, &max, 0, 0);
34 WaitForSingleObject((HANDLE)thread_id[i], INFINITE);
35 CloseHandle((HANDLE)thread_id[i]);
cthread_unix.c 26 pthread_t thread_id[MaxThread]; local
31 pthread_create(&thread_id[i], 0, addThread, &max);
33 pthread_join(thread_id[i], 0);
  /external/compiler-rt/test/asan/TestCases/
debug_stacks.cc 30 int thread_id; local
31 num_frames = __asan_get_alloc_stack(mem, trace, num_frames, &thread_id);
36 fprintf(stderr, "thread id = %d\n", thread_id);
44 num_frames = __asan_get_free_stack(mem, trace, num_frames, &thread_id);
49 fprintf(stderr, "thread id = %d\n", thread_id);
  /external/compiler-rt/test/lsan/TestCases/
cleanup_in_tsd_destructor.c 37 pthread_t thread_id; local
38 res = pthread_create(&thread_id, 0, thread_func, 0);
40 res = pthread_join(thread_id, 0);
disabler_in_tsd_destructor.c 33 pthread_t thread_id; local
34 res = pthread_create(&thread_id, 0, thread_func, 0);
36 res = pthread_join(thread_id, 0);
leak_check_before_thread_started.cc 17 pthread_t thread_id; local
25 int res = pthread_create(&thread_id, &attr, func, arg);
use_stacks_threaded.cc 27 pthread_t thread_id; local
28 int res = pthread_create(&thread_id, 0, stacks_thread_func, &sync);
use_registers.cc 42 pthread_t thread_id; local
43 int res = pthread_create(&thread_id, 0, registers_thread_func, &sync);
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_stoptheworld.h 37 bool Contains(SuspendedThreadID thread_id) const {
39 if (thread_ids_[i] == thread_id)
44 void Append(SuspendedThreadID thread_id) {
45 thread_ids_.push_back(thread_id);
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_stoptheworld_testlib.cc 48 pthread_t thread_id; local
49 pthread_create(&thread_id, NULL, SuspenderThread, NULL);
  /system/extras/memory_replay/tests/
ThreadTest.cpp 54 pthread_t thread_id; local
55 ASSERT_TRUE(pthread_create(&thread_id, nullptr, ThreadWaitForReady, &thread_data) == 0);
62 ASSERT_TRUE(pthread_join(thread_id, nullptr) == 0);
82 pthread_t thread_id; local
83 ASSERT_TRUE(pthread_create(&thread_id, nullptr, ThreadWaitForPending, &thread_data) == 0);
90 ASSERT_TRUE(pthread_join(thread_id, nullptr) == 0);
  /external/v8/test/cctest/
test-threads.cc 47 i::ThreadId thread_id = i::ThreadId::Current(); local
49 CHECK(!(*refs_)[i].Equals(thread_id));
51 CHECK(thread_id.IsValid());
52 (*refs_)[thread_no_] = thread_id;
  /external/compiler-rt/lib/asan/
asan_debugging.cc 84 static uptr AsanGetStack(uptr addr, uptr *trace, u32 size, u32 *thread_id,
93 if (thread_id) *thread_id = chunk.AllocTid();
97 if (thread_id) *thread_id = chunk.FreeTid();
126 uptr __asan_get_alloc_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) {
127 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ true);
131 uptr __asan_get_free_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) {
132 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ false);
  /external/avahi/avahi-common/
thread-watch.c 42 pthread_t thread_id; member in struct:AvahiThreadedPoll
111 assert(!p->thread_running || !pthread_equal(pthread_self(), p->thread_id));
134 if (pthread_create(&p->thread_id, NULL, thread, p) < 0)
149 assert(!pthread_equal(pthread_self(), p->thread_id));
155 pthread_join(p->thread_id, NULL);
165 assert(pthread_equal(pthread_self(), p->thread_id));
174 assert(!p->thread_running || !pthread_equal(pthread_self(), p->thread_id));
183 assert(!p->thread_running || !pthread_equal(pthread_self(), p->thread_id));
  /external/google-breakpad/src/client/ios/handler/
ios_exception_minidump_generator.h 49 virtual bool WriteThreadStream(mach_port_t thread_id, MDRawThread *thread);
  /external/google-breakpad/src/client/windows/crash_generation/
client_info.h 52 DWORD* thread_id,
64 DWORD* thread_id() const { return thread_id_; } function in class:google_breakpad::ClientInfo
92 bool GetClientThreadId(DWORD* thread_id) const;
client_info.cc 41 DWORD* thread_id,
51 thread_id_(thread_id),
149 bool ClientInfo::GetClientThreadId(DWORD* thread_id) const {
153 thread_id,
154 sizeof(*thread_id),
159 return bytes_count == sizeof(*thread_id);
  /external/libchrome/base/
observer_list_threadsafe.h 121 PlatformThreadId thread_id = PlatformThread::CurrentId(); local
124 if (observer_lists_.find(thread_id) == observer_lists_.end())
125 observer_lists_[thread_id] = new ObserverListContext(type_);
126 list = &(observer_lists_[thread_id]->list);
139 PlatformThreadId thread_id = PlatformThread::CurrentId(); local
142 typename ObserversListMap::iterator it = observer_lists_.find(thread_id);
  /external/google-breakpad/src/client/windows/common/
ipc_protocol.h 108 thread_id(0),
131 thread_id(arg_thread_id),
151 DWORD* thread_id; member in struct:google_breakpad::ProtocolMessage
  /external/chromium-trace/catapult/third_party/Paste/paste/
httpserver.py 656 if not hasattr(worker, 'thread_id'):
659 time_started, info = self.worker_tracker.get(worker.thread_id,
697 if not hasattr(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):
728 Removes the worker with the given thread_id from the pool, an
    [all...]
  /bionic/libc/bionic/
pthread_internal.cpp 82 pthread_internal_t* __pthread_internal_find(pthread_t thread_id) {
83 pthread_internal_t* thread = reinterpret_cast<pthread_internal_t*>(thread_id);

Completed in 1254 milliseconds

1 2 3 4 5 6 7 8 9