/bionic/libc/bionic/ |
pthread_gettid_np.cpp | 34 pthread_internal_t* thread = __pthread_internal_find(t); local 35 return thread ? thread->tid : -1;
|
pthread_detach.cpp | 37 pthread_internal_t* thread = __pthread_internal_find(t); local 38 if (thread == NULL) { 44 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_DETACHED)) {
|
/art/runtime/ |
thread-current-inl.h | 20 #include "thread.h" 30 inline Thread* Thread::Current() { 31 // We rely on Thread::Current returning null for a detached thread, so it's not obvious 37 void* thread = __get_tls()[TLS_SLOT_ART_THREAD_SELF]; local 39 void* thread = pthread_getspecific(Thread::pthread_key_self_); 41 return reinterpret_cast<Thread*>(thread); [all...] |
/external/compiler-rt/test/tsan/ |
bench_acquire_only.cc | 11 void thread(int tid) { function 18 start_thread_group(bench_nthread, thread);
|
bench_acquire_release.cc | 11 void thread(int tid) { function 17 start_thread_group(bench_nthread, thread);
|
bench_local_mutex.cc | 12 void thread(int tid) { function 26 start_thread_group(bench_nthread, thread);
|
bench_release_only.cc | 12 void thread(int tid) { function 22 start_thread_group(bench_nthread, thread);
|
bench_rwmutex.cc | 11 void thread(int tid) { function 24 start_thread_group(bench_nthread, thread);
|
bench_single_writer.cc | 11 void thread(int tid) { function 22 start_thread_group(bench_nthread, thread);
|
setuid.c | 12 // Setuid call used to hang because the background tsan thread did not handle 16 static void *thread(void *arg) { function 23 // Create another thread just for completeness of the picture. 25 pthread_create(&th, 0, thread, 0);
|
/external/llvm/include/llvm/Support/ |
thread.h | 1 //===-- llvm/Support/thread.h - Wrapper for <thread> ------------*- C++ -*-===// 10 // This header is a wrapper for <thread> that works around problems with the 11 // MSVC headers when exceptions are disabled. It also provides llvm::thread, 12 // which is either a typedef of std::thread or a replacement that calls the 34 #include <thread> 41 typedef std::thread thread; typedef in namespace:llvm 50 struct thread { 51 thread() {} [all...] |
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
thread.hpp | 2 // detail/thread.hpp 27 typedef posix_thread thread; typedef in namespace:asio::detail 29 typedef std_thread thread;
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
thread.h | 1 //===-- llvm/Support/thread.h - Wrapper for <thread> ------------*- C++ -*-===// 10 // This header is a wrapper for <thread> that works around problems with the 11 // MSVC headers when exceptions are disabled. It also provides llvm::thread, 12 // which is either a typedef of std::thread or a replacement that calls the 34 #include <thread> 41 typedef std::thread thread; typedef in namespace:llvm 50 struct thread { 51 thread() {} [all...] |
/external/testng/src/test/java/test/thread/ |
FactorySampleTest.java | 1 package test.thread;
|
Sample1.java | 1 package test.thread; 9 logThread(Thread.currentThread().getId());
|
ThreadPoolSizeSampleTest.java | 1 package test.thread; 8 Thread.sleep(500);
|
/external/valgrind/drd/tests/ |
pth_detached3.c | 1 /* Invoke pthread_detach() with an invalid thread ID. */ 15 pthread_t thread; local 17 pthread_create(&thread, NULL, thread_func, NULL); 18 pthread_join(thread, NULL); 20 /* Invoke pthread_detach() with the thread ID of a joined thread. */ 21 pthread_detach(thread); 23 /* Invoke pthread_detach() with an invalid thread ID. */ 24 pthread_detach(thread + 8);
|
/external/valgrind/none/tests/solaris/ |
threads_exitall.c | 10 /* Wait for main thread to block. */ 21 pthread_t thread; local 24 if (pthread_create(&thread, NULL, thread_proc, NULL)) { 29 if (pthread_join(thread, &status)) { 35 fprintf(stderr, "Thread joined\n");
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
thread.h | 1 //===-- llvm/Support/thread.h - Wrapper for <thread> ------------*- C++ -*-===// 10 // This header is a wrapper for <thread> that works around problems with the 11 // MSVC headers when exceptions are disabled. It also provides llvm::thread, 12 // which is either a typedef of std::thread or a replacement that calls the 24 #include <thread> 27 typedef std::thread thread; typedef in namespace:llvm 36 struct thread { 37 thread() {} [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Support/ |
thread.h | 1 //===-- llvm/Support/thread.h - Wrapper for <thread> ------------*- C++ -*-===// 10 // This header is a wrapper for <thread> that works around problems with the 11 // MSVC headers when exceptions are disabled. It also provides llvm::thread, 12 // which is either a typedef of std::thread or a replacement that calls the 24 #include <thread> 27 typedef std::thread thread; typedef in namespace:llvm 36 struct thread { 37 thread() {} [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Support/ |
thread.h | 1 //===-- llvm/Support/thread.h - Wrapper for <thread> ------------*- C++ -*-===// 10 // This header is a wrapper for <thread> that works around problems with the 11 // MSVC headers when exceptions are disabled. It also provides llvm::thread, 12 // which is either a typedef of std::thread or a replacement that calls the 24 #include <thread> 27 typedef std::thread thread; typedef in namespace:llvm 36 struct thread { 37 thread() {} [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Support/ |
thread.h | 1 //===-- llvm/Support/thread.h - Wrapper for <thread> ------------*- C++ -*-===// 10 // This header is a wrapper for <thread> that works around problems with the 11 // MSVC headers when exceptions are disabled. It also provides llvm::thread, 12 // which is either a typedef of std::thread or a replacement that calls the 24 #include <thread> 27 typedef std::thread thread; typedef in namespace:llvm 36 struct thread { 37 thread() {} [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Support/ |
thread.h | 1 //===-- llvm/Support/thread.h - Wrapper for <thread> ------------*- C++ -*-===// 10 // This header is a wrapper for <thread> that works around problems with the 11 // MSVC headers when exceptions are disabled. It also provides llvm::thread, 12 // which is either a typedef of std::thread or a replacement that calls the 24 #include <thread> 27 typedef std::thread thread; typedef in namespace:llvm 36 struct thread { 37 thread() {} [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Support/ |
thread.h | 1 //===-- llvm/Support/thread.h - Wrapper for <thread> ------------*- C++ -*-===// 10 // This header is a wrapper for <thread> that works around problems with the 11 // MSVC headers when exceptions are disabled. It also provides llvm::thread, 12 // which is either a typedef of std::thread or a replacement that calls the 24 #include <thread> 27 typedef std::thread thread; typedef in namespace:llvm 36 struct thread { 37 thread() {} [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Support/ |
thread.h | 1 //===-- llvm/Support/thread.h - Wrapper for <thread> ------------*- C++ -*-===// 10 // This header is a wrapper for <thread> that works around problems with the 11 // MSVC headers when exceptions are disabled. It also provides llvm::thread, 12 // which is either a typedef of std::thread or a replacement that calls the 24 #include <thread> 27 typedef std::thread thread; typedef in namespace:llvm 36 struct thread { 37 thread() {} [all...] |