/external/skia/include/utils/ |
SkCondVar.h | 18 * Condition variable for blocking access to shared data from other threads and 19 * controlling which threads are awake. 21 * Currently only supported on platforms with posix threads and Windows Vista and 53 * Wake all threads waiting on this condition. Must be called while lock()
|
/external/valgrind/main/drd/tests/ |
linuxthreads_det.stderr.exp-linuxthreads | 3 the newer NPTL (Native POSIX Threads Library). Please try to rerun DRD
|
pth_barrier_reinit.c | 2 * threads standard. See also http://www.opengroup.org/onlinepubs/000095399/functions/pthread_barrier_init.html.
|
pth_detached.c | 1 /* Test whether detached threads are handled properly. */ 53 // Create count1 detached threads by setting the "detached" property via 60 // Create count2 detached threads by letting the threads detach themselves. 71 // Wait until all detached threads have written their output to stdout.
|
/external/valgrind/main/none/tests/ |
thread-exits.stdout.exp | 2 creating threads...
|
/external/chromium_org/base/threading/ |
thread_local_storage_unittest.cc | 94 // threads that set the TLS, while the destructor cleans it up. 95 // After the threads finish, verify that the value is cleaned up. 99 DelegateSimpleThread* threads[kNumThreads]; local 103 // Spawn the threads. 107 threads[index] = new DelegateSimpleThread(thread_delegates[index], 109 threads[index]->Start(); 112 // Wait for the threads to finish. 114 threads[index]->Join(); 115 delete threads[index]; 121 tls_slot.Free(); // Stop doing callbacks to cleanup threads [all...] |
/external/compiler-rt/lib/tsan/benchmarks/ |
vts_many_threads_bench.cc | 3 // 1) Spawn M + N threads (M >> N) 4 // We'll call the 'M' threads as 'garbage threads'. 5 // 2) Make sure all threads have created thus no TIDs were reused 6 // 3) Join the garbage threads 7 // 4) Do many sync operations on the remaining N threads 58 // Wait for the main thread to join the garbage threads. 105 printf("All threads started! Killing the garbage threads.\n"); 111 printf("Resuming the main threads.\n") [all...] |
/external/stressapptest/ |
stressapptest.1 | 24 .B \-C <threads> 25 Number of memory CPU stress threads to run. 40 .B \-i <threads> 41 Number of memory invert threads to run. 48 .B \-m <threads> 49 Number of memory copy threads to run. 90 threads to operate. 118 Run threads that listen for incoming net connections. 149 .B \-\-random-threads <number> 150 Number of random threads for each disk write thread (\-d) [all...] |
/external/valgrind/main/memcheck/tests/ |
err_disable4.c | 2 /* Check that recycling thread slots doesn't cause new threads to 6 1. Create N threads, disable error reporting in them, and get them 8 were vacated by threads with error reporting disabled. There 9 should be N complaints about threads exiting with errors 12 2. Create N new threads and get them to wait at a barrier. 17 4. Join with the N threads. 71 fprintf(stderr, "\n-------- Letting %d threads exit " 82 // create N threads to do child_fn_1 ... 100 fprintf(stderr, "\n-------- Letting %d threads make an error " 105 // create N threads to do child_fn_2 .. [all...] |
/libcore/crypto/src/test/java/org/conscrypt/ |
FileClientSessionCacheTest.java | 35 Thread[] threads = new Thread[10]; local 37 for (int i = 0; i < threads.length; i++) { 39 threads[i] = new Thread() { 48 for (Thread thread : threads) { 51 for (Thread thread : threads) {
|
/system/core/include/system/ |
thread_defs.h | 36 * it doesn't starve the system. Threads not behaving properly might 46 /* most threads run at normal priority */ 49 /* threads currently running a UI that the user is interacting with */ 58 /* all normal audio threads */ 61 /* service audio threads (uncommon) */
|
/external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/ |
sync_parser_test.js | 35 var threads = m.getAllThreads(); 36 assertEquals(4, threads.length); 38 var threads = m.findAllThreadsNamed('s3c-fb'); 39 assertEquals(1, threads.length); 40 assertEquals(1, threads[0].sliceGroup.length); 42 var threads = m.findAllThreadsNamed('kworker/u:5'); 43 assertEquals(1, threads.length); 44 assertEquals(1, threads[0].sliceGroup.length); 46 threads[0].sliceGroup.slices[0].title);
|
/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_mutex_test.cc | 99 pthread_t threads[kThreads]; local 101 pthread_create(&threads[i], 0, write_mutex_thread<Mutex>, &data); 103 pthread_join(threads[i], 0); 109 pthread_t threads[kThreads]; local 111 pthread_create(&threads[i], 0, read_mutex_thread<Mutex>, &data); 113 pthread_join(threads[i], 0); 119 pthread_t threads[kThreads]; local 121 pthread_create(&threads[i], 0, write_mutex_thread<SpinMutex>, &data); 123 pthread_join(threads[i], 0);
|
/packages/apps/Mms/tests/src/com/android/mms/ |
RecyclerTest.java | 26 import android.provider.Telephony.Threads; 43 * Bang on the recycler and test it getting called simultaneously from two different threads 51 * Bang on the recycler and test it getting called simultaneously from two different threads 68 Threads.CONTENT_URI.buildUpon().appendQueryParameter("simple", "true").build(); 70 Threads._ID, Threads.DATE, Threads.MESSAGE_COUNT, Threads.RECIPIENT_IDS, 71 Threads.SNIPPET, Threads.SNIPPET_CHARSET, Threads.READ, Threads.ERROR 241 ArrayList<Thread> threads = new ArrayList<Thread>(THREAD_COUNT); local [all...] |
/external/chromium_org/native_client_sdk/src/libraries/sdk_util/ |
thread_pool.cc | 16 // Initializes mutex, semaphores and a pool of threads. If 0 is passed for 44 // Post exit request, wait for all threads to join, and cleanup. 55 // when all worker threads are sleeping. 63 // can be called from multiple threads at any given time. 68 // Set exit flag, post and join all the threads in the pool. This function is 69 // called only from the dispatch thread, and only when all worker threads are 73 // Wake up all the sleeping worker threads. 105 // DispatchMany() will dispatch a set of tasks across worker threads. 108 // On entry, all worker threads are sleeping. 111 // Wake up the worker threads & have them process tasks [all...] |
/external/chromium/chrome/browser/resources/gpu_internals/ |
timeline_model.js | 9 * tokens are converted into a hierarchy of processes, threads, 92 this.threads = {}; 97 if (!this.threads[tid]) 98 this.threads[tid] = new TimelineThread(this, tid); 99 return this.threads[tid]; 127 * the TimelineModel as processes, threads, and slices. 205 var threads = this.getAllThreads(); 206 for (var tI = 0; tI < threads.length; tI++) { 207 var thread = threads[tI]; 218 var threads = this.getAllThreads() [all...] |
/external/chromium_org/third_party/libxml/src/ |
testThreads.c | 8 #include <libxml/threads.h> 29 static const char *catalog = "test/threads/complex.xml"; 31 "test/threads/abc.xml", 32 "test/threads/acb.xml", 33 "test/threads/bac.xml", 34 "test/threads/bca.xml", 35 "test/threads/cab.xml", 36 "test/threads/cba.xml", 37 "test/threads/invalid.xml", 57 if (!strcmp(filename, "test/threads/invalid.xml")) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/i686-linux/bits/ |
gthr.h | 0 /* Threads compatibility routines for libgcc2. */ 33 /* If this file is compiled with threads support, it must 35 to indicate that threads support is present. Also it has define 40 The threads interface must define the following types: 46 The threads interface must define the following macros: 63 The threads interface must define the following static functions: 83 The following are supported in POSIX threads only. They are required to 134 Currently supported threads packages are 135 TPF threads with -D__tpf__ 136 POSIX/Unix98 threads with -D_PTHREAD [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/i686-linux/bits/ |
gthr.h | 0 /* Threads compatibility routines for libgcc2. */ 33 /* If this file is compiled with threads support, it must 35 to indicate that threads support is present. Also it has define 40 The threads interface must define the following types: 46 The threads interface must define the following macros: 63 The threads interface must define the following static functions: 83 The following are supported in POSIX threads only. They are required to 134 Currently supported threads packages are 135 TPF threads with -D__tpf__ 136 POSIX/Unix98 threads with -D_PTHREAD [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/x86_64-linux/bits/ |
gthr.h | 0 /* Threads compatibility routines for libgcc2. */ 33 /* If this file is compiled with threads support, it must 35 to indicate that threads support is present. Also it has define 40 The threads interface must define the following types: 46 The threads interface must define the following macros: 63 The threads interface must define the following static functions: 83 The following are supported in POSIX threads only. They are required to 134 Currently supported threads packages are 135 TPF threads with -D__tpf__ 136 POSIX/Unix98 threads with -D_PTHREAD [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include/bits/ |
gthr.h | 0 /* Threads compatibility routines for libgcc2. */ 33 /* If this file is compiled with threads support, it must 35 to indicate that threads support is present. Also it has define 40 The threads interface must define the following types: 46 The threads interface must define the following macros: 63 The threads interface must define the following static functions: 83 The following are supported in POSIX threads only. They are required to 134 Currently supported threads packages are 135 TPF threads with -D__tpf__ 136 POSIX/Unix98 threads with -D_PTHREAD [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include/bits/ |
gthr.h | 0 /* Threads compatibility routines for libgcc2. */ 33 /* If this file is compiled with threads support, it must 35 to indicate that threads support is present. Also it has define 40 The threads interface must define the following types: 46 The threads interface must define the following macros: 63 The threads interface must define the following static functions: 83 The following are supported in POSIX threads only. They are required to 134 Currently supported threads packages are 135 TPF threads with -D__tpf__ 136 POSIX/Unix98 threads with -D_PTHREAD [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include/bits/ |
gthr.h | 0 /* Threads compatibility routines for libgcc2. */ 33 /* If this file is compiled with threads support, it must 35 to indicate that threads support is present. Also it has define 40 The threads interface must define the following types: 46 The threads interface must define the following macros: 63 The threads interface must define the following static functions: 83 The following are supported in POSIX threads only. They are required to 134 Currently supported threads packages are 135 TPF threads with -D__tpf__ 136 POSIX/Unix98 threads with -D_PTHREAD [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include/bits/ |
gthr.h | 0 /* Threads compatibility routines for libgcc2. */ 33 /* If this file is compiled with threads support, it must 35 to indicate that threads support is present. Also it has define 40 The threads interface must define the following types: 46 The threads interface must define the following macros: 63 The threads interface must define the following static functions: 83 The following are supported in POSIX threads only. They are required to 134 Currently supported threads packages are 135 TPF threads with -D__tpf__ 136 POSIX/Unix98 threads with -D_PTHREAD [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/libs/x86/include/bits/ |
gthr.h | 0 /* Threads compatibility routines for libgcc2. */ 33 /* If this file is compiled with threads support, it must 35 to indicate that threads support is present. Also it has define 40 The threads interface must define the following types: 46 The threads interface must define the following macros: 63 The threads interface must define the following static functions: 83 The following are supported in POSIX threads only. They are required to 134 Currently supported threads packages are 135 TPF threads with -D__tpf__ 136 POSIX/Unix98 threads with -D_PTHREAD [all...] |