/prebuilts/clang/host/linux-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/linux-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/linux-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/linux-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/linux-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/linux-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/linux-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...] |
/system/bt/osi/test/ |
thread_test.cc | 9 #include "osi/include/thread.h" 14 thread_t* thread = thread_new("test_thread"); local 15 ASSERT_TRUE(thread != NULL); 16 thread_free(thread); 20 thread_t* thread = thread_new("test_thread"); local 21 thread_free(thread); 25 thread_t* thread = thread_new("test_name"); local 26 ASSERT_STREQ(thread_name(thread), "test_name"); 27 thread_free(thread); 31 thread_t* thread = thread_new("0123456789abcdef") local 37 thread_t* thread = thread_new("0123456789abcdefg"); local 43 thread_t* thread = (thread_t*)context; local 48 thread_t* thread = thread_new("test_thread"); local 54 thread_t* thread = thread_new("test_thread"); local [all...] |
/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 {
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/ |
PreBootListener.java | 34 Thread thread = new Thread(() -> { local 38 thread.setPriority(Thread.MAX_PRIORITY); 39 thread.start();
|
/bionic/libc/bionic/ |
pthread_join.cpp | 41 pthread_internal_t* thread = __pthread_internal_find(t); local 42 if (thread == NULL) { 48 !atomic_compare_exchange_weak(&thread->join_state, &old_state, THREAD_JOINED)) { 55 pid_t tid = thread->tid; 56 volatile int* tid_ptr = &thread->tid; 58 // We set thread->join_state to THREAD_JOINED with atomic operation, 59 // so no one is going to remove this thread except us. 61 // Wait for the thread to actually exit, if it hasn't already. 67 *return_value = thread->return_value; 70 __pthread_internal_remove_and_free(thread); [all...] |
/external/compiler-rt/test/tsan/ |
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/tensorflow/tensorflow/core/lib/core/ |
threadpool.h | 26 namespace thread { namespace in namespace:tensorflow 32 // given ThreadOptions. If "low_latency_hint" is true the thread pool 78 // This is because some work can happen on the caller thread while the threads 81 // The caller can allocate NumThreads() + 1 separate buffers for each thread. 82 // Each thread can safely write to the buffer given by its id without 97 // Returns current thread id between 0 and NumThreads() - 1, if called from a 98 // thread in the pool. Returns -1 otherwise. 108 } // namespace thread
|
/external/testng/src/test/java/test/thread/ |
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());
|
/external/valgrind/drd/tests/ |
pth_barrier_race.c | 22 static void* thread(void* arg) function 35 pthread_create(&tid, NULL, thread, NULL); 40 * happens after the created thread has returned from pthread_barrier_wait().
|
/prebuilts/go/darwin-x86/misc/cgo/test/ |
issue6997_linux.c | 11 static pthread_t thread; variable 20 return pthread_create(&thread, NULL, &threadfunc, NULL); 25 pthread_cancel(thread); 26 pthread_join(thread, &r);
|
/prebuilts/go/linux-x86/misc/cgo/test/ |
issue6997_linux.c | 11 static pthread_t thread; variable 20 return pthread_create(&thread, NULL, &threadfunc, NULL); 25 pthread_cancel(thread); 26 pthread_join(thread, &r);
|
/prebuilts/misc/windows/sdl2/test/ |
testerror.c | 35 /* Set the child thread error string */ 36 SDL_SetError("Thread %s (%lu) had a problem: %s", 39 SDL_Log("Thread '%s' is alive!\n", (char *) data); 42 SDL_Log("Child thread error string: %s\n", SDL_GetError()); 49 SDL_Thread *thread; local 60 /* Set the error value for the main thread */ 64 thread = SDL_CreateThread(ThreadFunc, NULL, "#1"); 65 if (thread == NULL) { 66 SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't create thread: %s\n", SDL_GetError()); 70 SDL_Log("Waiting for thread #1\n") [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
MeasureUnitThreadTest.java | 26 Thread thread = new Thread() { local 32 thread.start(); 34 try {thread.join();} catch(InterruptedException e) {};
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
MeasureUnitThreadTest.java | 23 Thread thread = new Thread() { local 29 thread.start(); 31 try {thread.join();} catch(InterruptedException e) {};
|
/art/test/151-OpenFileLimit/src/ |
Main.java | 45 // Now try to create a new thread. 47 Thread thread = new Thread() { local 49 System.out.println("thread run."); 52 thread.start(); 53 thread.join();
|
/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...] |