Searched defs:threads (Results 1 - 4 of 4) sorted by relevance

/frameworks/wilhelm/tests/sandbox/
H A Dmultithread.c17 // Multiple threads create and destroy objects
37 pthread_t threads[MAX_THREAD]; variable
128 // create threads
155 ok = pthread_create(&threads[i], (const pthread_attr_t *) NULL, thread_start,
171 // signal threads that they should exit
183 // now wait for the threads to actually exit
185 ok = pthread_join(threads[i], NULL);
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicHistogram.cpp104 const uint32_t threads = mCtx->getThreadCount(); local
142 memset(mSums, 0, 256 * sizeof(int32_t) * threads * vSize);
150 uint32_t threads = mCtx->getThreadCount(); local
157 for (uint32_t t=1; t < threads; t++) {
H A DrsCpuIntrinsicBlur.cpp446 uint32_t threads = mCtx->getThreadCount(); local
448 for (size_t i = 0; i < threads; i++) {
/frameworks/base/tests/CoreTests/android/core/
H A DTestWebServer.java41 /* Where worker threads stand idle */
42 Vector threads = new Vector(); field in class:TestWebServer
44 /* List of all active worker threads */
50 /* max # worker threads */
216 * The AcceptThread is responsible for initiating worker threads
264 synchronized (threads) {
265 if (threads.isEmpty()) {
271 w = (Worker) threads.elementAt(0);
272 threads.removeElementAt(0);
298 // Stop worker threads fro
[all...]

Completed in 930 milliseconds