HomeSort by relevance Sort by last modified time
    Searched defs:thread (Results 1 - 25 of 534) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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...]
  /bionic/libc/bionic/
pthread_detach.cpp 37 pthread_internal_t* thread = __pthread_internal_find(t, "pthread_detach"); local
38 if (thread == nullptr) {
44 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_DETACHED)) {
pthread_join.cpp 43 pthread_internal_t* thread = __pthread_internal_find(t, "pthread_join"); local
44 if (thread == nullptr) {
50 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_JOINED)) {
57 pid_t tid = thread->tid;
58 volatile int* tid_ptr = &thread->tid;
60 // We set thread->join_state to THREAD_JOINED with atomic operation,
61 // so no one is going to remove this thread except us.
63 // Wait for the thread to actually exit, if it hasn't already.
69 *return_value = thread->return_value;
72 __pthread_internal_remove_and_free(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);
bench_mutex.cc 13 void thread(int tid) { function
27 start_thread_group(2, thread);
bench_ten_mutexes.cc 12 void thread(int tid) { function
25 start_thread_group(2, thread);
  /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-7.0/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...]
  /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);
Test1Test.java 1 package test.thread;
10 addId("Test1Test.f11()", Thread.currentThread().getId());
16 addId("Test1Test.f12()", Thread.currentThread().getId());
Test2Test.java 1 package test.thread;
10 addId("Test2Test.f21()", Thread.currentThread().getId());
16 addId("Test2Test.f22()", Thread.currentThread().getId());
  /art/test/121-simple-suspend-check/src/
Main.java 19 SpinThread thread = new SpinThread(); local
20 thread.setDaemon(true);
21 thread.start();
24 Thread.sleep(3000);
31 class SpinThread extends Thread {
  /external/opencensus-java/exporters/stats/signalfx/src/test/java/io/opencensus/exporter/stats/signalfx/
SignalFxStatsExporterWorkerThreadTest.java 94 SignalFxStatsExporterWorkerThread thread = local
97 assertTrue(thread.isDaemon());
98 assertThat(thread.getName(), startsWith("SignalFx"));
106 SignalFxStatsExporterWorkerThread thread = local
109 thread.start();
110 thread.interrupt();
111 thread.join(5000, 0);
112 assertFalse("Worker thread should have stopped", thread.isAlive());
134 SignalFxStatsExporterWorkerThread thread local
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
UCharacterThreadTest.java 52 GetNameThread thread = new GetNameThread(codePoint, correctName); local
53 thread.start();
54 threads.add(thread);
58 GetNameThread thread = (GetNameThread)i.next(); local
59 thread.join();
60 if (!thread.correctName.equals(thread.actualName)) {
61 errln("FAIL, expected \"" + thread.correctName + "\", got \"" + thread.actualName + "\"");
66 private static class GetNameThread extends Thread {
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
UCharacterThreadTest.java 49 GetNameThread thread = new GetNameThread(codePoint, correctName); local
50 thread.start();
51 threads.add(thread);
55 GetNameThread thread = (GetNameThread)i.next(); local
56 thread.join();
57 if (!thread.correctName.equals(thread.actualName)) {
58 errln("FAIL, expected \"" + thread.correctName + "\", got \"" + thread.actualName + "\"");
63 private static class GetNameThread extends Thread {
    [all...]

Completed in 680 milliseconds

1 2 3 4 5 6 7 8 91011>>