/dalvik/vm/test/ |
AtomicTest.cpp | 269 pthread_t threads[THREAD_COUNT]; local 279 dvmFprintf(stdout, "Creating threads\n"); 284 if (pthread_create(&threads[i], NULL, startRoutine, arg) != 0) { 289 /* wait for all the threads to reach the starting line */ 305 if (pthread_join(threads[i], &retval) != 0) { 311 dvmFprintf(stdout, "All threads stopped, time is %.6fms\n",
|
/external/chromium/webkit/glue/ |
webmediaplayer_impl.h | 8 // PipelineImpl would creates multiple threads and access some public methods 47 // destructed nicely, and there will be some dangling media threads trying to 49 // main thread and cleanup the media threads when the even is received. Also 87 // WebKit. Since there are multiple threads in the media pipeline and there's 90 // from the media pipeline on different threads and serialize these calls 92 // Because of the nature of this object that it works with different threads,
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
ThreadGroupTest.java | 273 assertTrue("Can't destroy a ThreadGroup that has threads", passed); 290 "Should be able to destroy a ThreadGroup that has no threads", 401 // wipeSideEffectThreads destroy all side effect of threads created in 405 fail("wipe threads in test_list() not successful"); 840 // Give the threads a chance to die. 846 private Thread[] threads(ThreadGroup parent) { method in class:ThreadGroupTest 893 Thread[] threads = threads(aGroup); local 894 for (Thread t : threads) { 910 Thread[] threads = threads(aGroup) local [all...] |
/external/chromium/base/memory/ |
weak_ptr_unittest.cc | 121 // checks that ensure that a weak reference is not used by multiple threads. 130 // checks that ensure that a weak reference is not used by multiple threads.
|
/external/chromium/chrome/browser/net/ |
load_timing_observer.h | 26 // other threads. It is not safe to use from other threads.
|
/external/chromium/net/base/ |
network_change_notifier.h | 62 // threads try to access the API below, and it must outlive all other threads
|
/external/chromium/net/proxy/ |
proxy_resolver_v8.h | 23 // it is OK to run multiple instances of ProxyResolverV8 on different threads, 29 // run on different threads).
|
/external/chromium-trace/src/tracing/ |
linux_perf_importer_test.html | 249 assertEquals(1, m.processes['6880'].threads['6880'].subRows.length); 250 assertEquals(1, m.processes['7269'].threads['7269'].subRows.length); 339 assertEquals('i915_gem', m.processes['0'].threads['1'].name); 340 assertEquals(1, m.processes['0'].threads['1'].subRows.length); 342 assertEquals('i915_flip', m.processes['0'].threads['2'].name); 343 assertEquals(1, m.processes['0'].threads['1'].subRows.length); 346 m.processes['0'].threads['2'].subRows[0][0].start); 348 m.processes['0'].threads['2'].subRows[0][0].duration);
|
timeline_analysis_test.html | 75 t53track.thread = model.processes[52].threads[53]; 99 t53track.thread = model.processes[52].threads[53];
|
/external/clang/test/Driver/ |
le32-unknown-nacl.cpp | 3 // RUN: %clang -target le32-unknown-nacl -ccc-clang-archs le32 %s -emit-llvm -S -c -pthread -o - | FileCheck %s -check-prefix=THREADS 78 // THREADS: _REENTRANTdefined
|
/external/clang/tools/libclang/ |
CIndexer.h | 82 /// threads should not be used). 86 /// threads when possible.
|
/external/ganymed-ssh2/examples/ |
SingleThreadStdoutStderr.java | 46 * stderr without having to use two parallel worker threads (i.e., 52 /* Don't wrap these streams and don't let other threads work on
|
/external/guava/guava/src/com/google/common/collect/ |
SingletonImmutableSet.java | 40 // A race condition is avoided since threads will either see that the value 41 // is zero and recalculate it themselves, or two threads will see it at
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
MoreExecutors.java | 54 * when the application is complete. It does so by using daemon threads and 85 * does so by using daemon threads and adding a shutdown hook to wait for 118 * daemon threads, and we want to keep the JVM from exiting immediately on 119 * shutdown, instead giving these daemon threads a chance to terminate 121 * @param service ExecutorService which uses daemon threads 150 * when the application is complete. It does so by using daemon threads and 171 * exits when the application is complete. It does so by using daemon threads 208 * threads executing tasks. Second, the returned list will always be empty,
|
/external/icu4c/common/ |
mutex.cpp | 88 // at worst multiple threads race to each create a new instance, 89 // and all losing threads delete their duplicates.
|
/external/jmonkeyengine/engine/src/core/com/jme3/asset/ |
ThreadingManager.java | 41 * <code>ThreadingManager</code> manages the threads used to load content 42 * within the Content Manager system. A pool of threads and a task queue
|
/external/qemu/distrib/sdl-1.2.12/src/thread/pth/ |
SDL_syscond.c | 66 /* Restart one of the threads that are waiting on the condition variable */ 84 /* Restart all threads that are waiting on the condition variable */
|
/external/qemu/distrib/sdl-1.2.12/src/thread/pthread/ |
SDL_syscond.c | 62 /* Restart one of the threads that are waiting on the condition variable */ 80 /* Restart all threads that are waiting on the condition variable */
|
/external/qemu/distrib/sdl-1.2.12/src/thread/riscos/ |
SDL_syscond.c | 66 /* Restart one of the threads that are waiting on the condition variable */ 84 /* Restart all threads that are waiting on the condition variable */
|
/external/qemu/distrib/sdl-1.2.12/src/timer/riscos/ |
SDL_systimer.c | 100 /* for non event threads */ 123 /* Need to yield to let other threads have a go */
|
/external/stlport/stlport/stl/ |
_threads.h | 29 // threads standard), and Win32 threads. Uithread support by Jochen 30 // Schlick, 1999, and Solaris threads generalized to them. 226 /* no threads */ 397 #else /* No threads */ 478 #else /* No threads */ 521 /* no threads */ 584 /* no threads */
|
/external/v8/test/cctest/ |
test-thread-termination.cc | 227 // Test that multiple threads using default isolate can be terminated 237 i::List<LoopingThread*> threads(kThreads); 239 threads.Add(new LoopingThread()); 242 threads[i]->Start(); 244 // Wait until all threads have signaled the semaphore. 251 v8::V8::TerminateExecution(threads[i]->GetV8ThreadId()); 255 threads[i]->Join(); 256 delete threads[i];
|
/external/valgrind/main/coregrind/ |
pub_core_threadstate.h | 36 // VG_(threads)[] data structure which holds all the important thread 301 threads block the signal, it will remain pending until either a 344 disabling error reporting in threads. When zero, reporting is 347 threads are always created with this as zero (errors 362 /* A statically allocated array of threads. NOTE: [0] is 365 extern ThreadState VG_(threads)[VG_N_THREADS]; 391 /* Return the number of non-dead Threads */ 394 /* Return the number of threads in VgTs_Runnable state */
|
/external/valgrind/main/drd/tests/ |
annotate_barrier.c | 27 * number of threads that must call barrier_wait() before any of them 124 /* Actual test, consisting of nthread threads. */
|
bar_bad.stderr.exp | 18 initialise a barrier which has threads waiting on it 27 destroy a barrier that has waiting threads
|