| /external/libunwind/doc/ |
| unw_regname.tex | 30 \section{Thread and Signal Safety} 32 The \Func{unw\_regname}() routine is thread-safe as well as safe to
|
| unw_set_caching_policy.tex | 29 unsupported, \Prog{libunwind} may fall back on using a per-thread 32 thread-local caches. If a thread-local caching are unavailable or 54 \section{Thread and Signal Safety} 56 \Func{unw\_set\_caching\_policy}() is thread-safe but \emph{not} safe
|
| unw_set_fpreg.tex | 43 \section{Thread and Signal Safety} 45 \Func{unw\_set\_fpreg}() is thread-safe as well as safe to use
|
| unw_set_reg.tex | 44 \section{Thread and Signal Safety} 46 \Func{unw\_set\_reg}() is thread-safe as well as safe to use
|
| unw_step.tex | 29 \section{Thread and Signal Safety} 31 \Func{unw\_step}() is thread-safe. If cursor \Var{cp} is in the local
|
| /external/llvm/lib/Support/ |
| Threading.cpp | 19 #include "llvm/Support/thread.h" 49 pthread_t Thread; 61 // Construct and execute the thread. 62 if (::pthread_create(&Thread, &Attr, ExecuteOnThread_Dispatch, &Info) != 0) 65 // Wait for the thread and clean up. 66 ::pthread_join(Thread, nullptr); 104 // on success, this call will wait until the thread finishes executing
|
| /external/okhttp/okhttp-testing-support/src/main/java/com/squareup/okhttp/testing/ |
| InstallUncaughtExceptionHandlerListener.java | 27 * {@link java.lang.Thread.UncaughtExceptionHandler} similar to the one found on Android. 33 private Thread.UncaughtExceptionHandler oldDefaultUncaughtExceptionHandler; 38 oldDefaultUncaughtExceptionHandler = Thread.getDefaultUncaughtExceptionHandler(); 39 Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() { 40 @Override public void uncaughtException(Thread thread, Throwable throwable) { 42 errorText.append("Uncaught exception in OkHttp thread \""); 43 errorText.append(thread.getName()); 63 Thread.setDefaultUncaughtExceptionHandler(oldDefaultUncaughtExceptionHandler) [all...] |
| /external/testng/src/test/java/test/thread/ |
| TrueParallelSampleTest.java | 1 package test.thread; 14 Thread.sleep(random.nextInt(10)); 16 Thread.yield();
|
| /libcore/ojluni/src/main/java/sun/nio/ch/ |
| FileLockImpl.java | 51 assert Thread.holdsLock(this);
|
| /system/core/libutils/include/utils/ |
| Thread.h | 39 // DO NOT USE: please use std::thread 41 class Thread : virtual public RefBase 44 // Create a Thread object, but doesn't create or start the associated 45 // thread. See the run() method. 46 explicit Thread(bool canCallJava = true); 47 virtual ~Thread(); 49 // Start the thread in threadLoop() which needs to be implemented. 54 // Ask this object's thread to exit. This function is asynchronous, when the 55 // function returns the thread might still be running. Of course, this 56 // function can be called from a different thread [all...] |
| /system/extras/memory_replay/ |
| Thread.h | 29 class Thread { 31 Thread(); 32 virtual ~Thread(); 58 // Per thread memory for an Action. Only one action can be processed.
|
| /system/extras/simpleperf/scripts/inferno/ |
| data_types.py | 25 class Thread: 67 thread = self.threads.get(tid) 68 if thread is None: 69 thread = self.threads[tid] = Thread(tid, pid) 70 return thread 73 thread = self.get_thread(sample.tid, sample.pid) 74 thread.add_callchain(callchain, symbol, sample)
|
| /cts/tests/tests/media/libmediandkjni/ |
| native_media_utils.h | 53 class Thread { 55 Thread() 58 virtual ~Thread() { 62 Thread(const Thread& ) = delete;
|
| /development/samples/training/threadsample/src/com/example/android/threadsample/ |
| PhotoDecodeRunnable.java | 62 * Sets the Thread that this instance is running on 63 * @param currentThread the current Thread 65 void setImageDecodeThread(Thread currentThread); 109 * Defines this object's task, which is a set of instructions designed to be run on a Thread. 115 * Stores the current Thread in the the PhotoTask instance, so that the instance 116 * can interrupt the Thread. 118 mPhotoTask.setImageDecodeThread(Thread.currentThread()); 126 // Defines the Bitmap object that this thread will create 152 // Before continuing, checks to see that the Thread hasn't 154 if (Thread.interrupted()) [all...] |
| PhotoDownloadRunnable.java | 63 * Sets the Thread that this instance is running on 64 * @param currentThread the current Thread 66 void setDownloadThread(Thread currentThread); 104 * Defines this object's task, which is a set of instructions designed to be run on a Thread. 111 * Stores the current Thread in the the PhotoTask instance, so that the instance 112 * can interrupt the Thread. 114 mPhotoTask.setDownloadThread(Thread.currentThread()); 116 // Moves the current Thread into the background 131 // Before continuing, checks to see that the Thread hasn't been 133 if (Thread.interrupted()) [all...] |
| /external/deqp/framework/common/ |
| tcuThreadUtil.cpp | 21 * \brief Thread test utilities 123 void Operation::execute (Thread& thread) 139 exec(thread); 166 Thread::Thread (deUint32 seed) 172 Thread::~Thread (void) 180 deUint8* Thread::getDummyData (size_t size) 190 void Thread::addOperation (Operation* operation [all...] |
| /external/libchrome/base/threading/ |
| thread.cc | 5 #include "base/threading/thread.h" 32 // We use this thread-local variable to record whether or not a thread exited 35 // using a Thread to setup and run a MessageLoop. 41 Thread::Options::Options() = default; 43 Thread::Options::Options(MessageLoop::Type type, size_t size) 46 Thread::Options::Options(const Options& other) = default; 48 Thread::Options::~Options() = default; 50 Thread::Thread(const std::string& name [all...] |
| /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
| LooperTest.java | 44 assertSame("junit test's thread should use the main looper", mainLooper, thisThreadsLooper); 47 new Thread() { 56 Thread.yield(); 104 assertTrue(shadowOf(Looper.getMainLooper()).getThread() == Thread.currentThread());
|
| /art/test/597-deopt-busy-loop/src/ |
| Main.java | 35 final Thread[] threads = new Thread[numberOfThreads]; 37 threads[t] = new Thread(new Main(t)); 40 for (Thread t : threads) { 60 Thread.yield();
|
| /art/test/911-get-stack-trace/src/art/ |
| OtherThread.java | 22 System.out.println("### Other thread (suspended) ###"); 26 Thread t = new Thread("OtherThread doTestOtherThreadWait") { 33 Thread.yield(); 34 Thread.sleep(500); // A little bit of time... 47 // Let the thread make progress and die. 56 System.out.println("### Other thread (live) ###"); 59 Thread t = new Thread("OtherThread doTestOtherThreadBusyLoop") { 66 Thread.yield() [all...] |
| Recurse.java | 41 PrintThread.print(Thread.currentThread(), start, max);
|
| /art/test/994-breakpoint-line/src/art/ |
| Test994.java | 38 public static void notifyBreakpointReached(Thread thr, Executable e, long loc) { 45 Breakpoint.stopBreakpointWatch(Thread.currentThread()); 49 "notifyBreakpointReached", Thread.class, Executable.class, Long.TYPE), 50 Thread.currentThread()); 70 Breakpoint.stopBreakpointWatch(Thread.currentThread());
|
| /cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/ |
| RSBase.java | 61 Thread.yield();
|
| /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
| MonitorContendedEnterAndEnteredDebuggee.java | 31 BlockedThread thread; field in class:MonitorContendedEnterAndEnteredDebuggee 35 thread = new BlockedThread(logWriter,TESTED_THREAD); 38 logWriter.println("--> Main thread : started"); 45 logWriter.println("main thread: start tested thread"); 46 thread.start(); 48 // wait and hold the lock until the second thread blocks 49 while (!thread.getState().equals(Thread.State.valueOf("BLOCKED"))){ 50 Thread.yield() [all...] |
| /external/compiler-rt/lib/esan/ |
| esan_sideline_linux.cpp | 12 // Support for a separate or "sideline" tool thread on Linux. 36 // work in our non-POSIX thread?) to access our data in our signal handler 38 // sideline thread and we use a dirty solution of a global var. 47 SidelineThread *Thread = TheThread; 48 if (atomic_load(&Thread->SidelineExit, memory_order_relaxed) != 0) 50 Thread->sampleFunc(Thread->FuncArg); 64 VPrintf(1, "Sideline thread starting\n"); 65 SidelineThread *Thread = static_cast<SidelineThread*>(Arg); 78 // We inherit the signal mask from the app thread. In cas [all...] |