HomeSort by relevance Sort by last modified time
    Searched full:threads (Results 26 - 50 of 4890) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/valgrind/main/helgrind/tests/
tc21_pthonce.c 15 * "Using POSIX Threads: Programming with Pthreads"
25 * A program spawns multiple threads and each one tries to
31 * exit of the threads using the pthread_join() operation.
43 /* With more than 2 threads, the precise error reports vary between
45 simple and just have 2 threads and so just 1 race. */
53 /* This is a hack: delay threads except the first enough so as to
54 ensure threads[0] gets to the pthread_once call first. This is so
80 pthread_t threads[NUM_THREADS]; local
86 r= pthread_create(&threads[i], NULL, child, &id_arg[i]);
91 pthread_join(threads[i], NULL)
    [all...]
  /external/chromium-trace/trace-viewer/src/tracing/importer/
v8_log_importer_test.js 19 var threads = p.findAllThreadsNamed('V8 PC');
20 var t = threads[0];
32 var threads = p.findAllThreadsNamed('V8 PC');
33 var t = threads[0];
45 var threads = p.findAllThreadsNamed('V8 PC');
46 var t = threads[0];
55 var threads = p.findAllThreadsNamed('V8 Timers');
56 assertNotUndefined(threads);
57 assertEquals(threads.length, 1);
58 var t = threads[0]
    [all...]
  /external/valgrind/main/none/tests/
pth_cvsimple.c 4 * "Using POSIX Threads: Programming with Pthreads"
65 pthread_t threads[3]; local
67 pthread_create(&threads[0], NULL, watch_count, NULL);
69 pthread_create(&threads[1], NULL, inc_count, NULL);
70 pthread_create(&threads[2], NULL, inc_count, NULL);
73 pthread_join(threads[i], NULL);
77 // inc_count threads could fully run before watch_count begins, and so
  /external/chromium/base/threading/
thread_local_storage_unittest.cc 71 // threads that set the TLS, while the destructor cleans it up.
72 // After the threads finish, verify that the value is cleaned up.
76 DelegateSimpleThread* threads[kNumThreads]; local
80 // Spawn the threads.
84 threads[index] = new DelegateSimpleThread(thread_delegates[index],
86 threads[index]->Start();
89 // Wait for the threads to finish.
91 threads[index]->Join();
92 delete threads[index];
  /art/test/ParallelGC/
ParallelGC.java 22 Thread[] threads = new Thread[16]; local
23 for (int i = 0; i < threads.length; i++) {
24 threads[i] = new Thread(new ParallelGC(i));
26 for (Thread thread : threads) {
29 for (Thread thread : threads) {
  /external/eigen/demos/mandelbrot/
mandelbrot.h 45 MandelbrotThread **threads; member in class:MandelbrotWidget
60 threads = new MandelbrotThread*[threadcount];
61 for(int th = 0; th < threadcount; th++) threads[th] = new MandelbrotThread(this, th);
66 for(int th = 0; th < threadcount; th++) delete threads[th];
67 delete[] threads;
  /external/valgrind/main/callgrind/tests/
Makefile.am 21 threads.vgtest threads.stderr.exp \
22 threads-use.vgtest threads-use.stderr.exp
24 check_PROGRAMS = clreq simwork threads
  /external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/
drm_parser_test.js 19 var threads = m.getAllThreads();
20 assertEquals(1, threads.length);
22 var vblankThread = threads[0];
  /external/valgrind/main/gdbserver_tests/
mcinfcallRU.stdinB.gdb 11 info threads
13 # Would like to call this for all threads with 'thread apply all', but due to unfair scheduling,
14 # the below can either take a long time and/or have threads finished
nlcontrolc.vgtest 2 # info threads valgrind specific output
3 # the user can control-c an process with all threads in WaitSys
5 # the user can control-c an process with all threads in Running/Yielding
  /external/chromium/chrome/browser/net/
chrome_net_log_unittest.cc 42 // Only triggered once all threads have been created, to make it much less
57 ChromeNetLogTestThread threads[kThreads]; local
60 threads[i].Init(&log);
61 threads[i].Start();
65 threads[i].ReallyStart();
68 threads[i].Join();
  /external/linux-tools-perf/util/
evlist.h 32 struct thread_map *threads; member in struct:perf_evlist
39 struct thread_map *threads);
41 struct thread_map *threads);
64 struct thread_map *threads)
67 evlist->threads = threads;
values.h 7 int threads; member in struct:perf_read_values
  /external/skia/tests/
TLSTest.cpp 35 SkThread* threads[8]; local
36 int N = SK_ARRAY_COUNT(threads);
40 threads[i] = new SkThread(proc);
44 threads[i]->start();
48 threads[i]->join();
52 delete threads[i];
  /external/valgrind/main/drd/tests/
pth_detached_sem.c 2 * Test whether detached threads are handled properly.
5 * of a counter protected by a mutex to wait until all detached threads
60 // Create count1 detached threads by setting the "detached" property via
67 // Create count2 detached threads by letting the threads detach themselves.
78 // Wait until all detached threads have written their output to stdout.
linuxthreads_det.c 18 write(STDOUT_FILENO, "NPTL or non-Linux POSIX threads implementation detected.\n", 57);
22 write(STDOUT_FILENO, "Detected LinuxThreads as POSIX threads implementation.\n", 55);
  /external/icu4c/test/intltest/
tsmthred.h 28 * test that threads even work
33 * test that arabic shaping can work in threads
  /external/qemu/distrib/sdl-1.2.15/docs/man3/
SDL_CondBroadcast.3 3 SDL_CondBroadcast \- Restart all threads waiting on a condition variable
12 Restarts all threads that are waiting on the condition variable, \fBcond\fR\&. Returns \fB0\fR on success, or \fB-1\fR on an error\&.
  /external/skia/dm/
DMTaskRunner.h 8 // This lets us drive the GPU with a small number of threads (e.g. 2 or 4 can be faster than 1)
9 // while not swamping it with requests from the full fleet of threads that CPU-bound tasks run on.
  /external/chromium_org/build/android/pylib/utils/
reraiser_thread.py 75 def __init__(self, threads=[]):
79 threads: a list of ReraiserThread objects; defaults to empty.
81 self._threads = threads
92 """Start all threads."""
97 """Join all threads without stack dumps.
99 Reraises exceptions raised by the child threads and supports breaking
109 raise TimeoutError('Timed out waiting for %d of %d threads.' %
115 # All threads are allowed to complete before reraising exceptions.
120 """Join all threads.
122 Reraises exceptions raised by the child threads and supports breakin
    [all...]
  /sdk/emulator/opengl/host/libs/libOpenglRender/
RenderServer.cpp 81 RenderThreadsSet threads; local
117 // remove from the threads list threads which are
120 for (RenderThreadsSet::iterator n,t = threads.begin();
121 t != threads.end();
131 threads.erase(t);
137 threads.insert(rt);
143 // Wait for all threads to finish
145 for (RenderThreadsSet::iterator t = threads.begin();
146 t != threads.end()
    [all...]
  /external/nist-sip/java/gov/nist/core/
ThreadAuditor.java 7 * - Provides a mechanism for applications to check the health of internal threads
9 * - Threads register with the auditor at startup and "ping" the auditor every so often.
11 * auditor reports if the threads are healthy or if any of them failed to ping and are
13 * - The main implication for the monitored threads is that they can no longer block
24 /// Threads being monitored
27 /// How often are threads supposed to ping
30 /// Internal class, used as a handle by the monitored threads
63 // Helper function to allow threads to ping using this handle
68 // Helper function to allow threads to get the ping interval directly from this handle
86 /// Indicates how often monitored threads are supposed to ping (0 = no thread monitoring
    [all...]
  /libcore/dalvik/src/main/java/dalvik/system/profiler/
SamplingProfiler.java 89 * The {@code ThreadSet} that identifies which threads to sample.
104 * The threads currently known to the profiler for detecting
110 * Map of currently active threads to their identifiers. When
111 * threads disappear they are removed and only referenced by their
112 * identifiers to prevent retaining garbage threads.
134 * specified depth from the threads specified by the specified
147 * @param threadSet The thread set specifies which threads to
148 * sample. In a general purpose program, all threads typically
177 * A ThreadSet specifies the set of threads to sample.
181 * Returns an array containing the threads to be sampled. Th
185 public Thread[] threads(); method in interface:SamplingProfiler.ThreadSet
204 private final Thread[] threads; field in class:SamplingProfiler.ArrayThreadSet
211 public Thread[] threads() { method in class:SamplingProfiler.ArrayThreadSet
231 private Thread[] threads; field in class:SamplingProfiler.ThreadGroupThreadSet
252 public Thread[] threads() { method in class:SamplingProfiler.ThreadGroupThreadSet
    [all...]
  /external/chromium_org/third_party/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/linux-tools-perf/python/
twatch.py 20 threads = perf.thread_map()
25 evsel.open(cpus = cpus, threads = threads);
26 evlist = perf.evlist(cpus, threads)

Completed in 336 milliseconds

12 3 4 5 6 7 8 91011>>