HomeSort by relevance Sort by last modified time
    Searched full:threads (Results 301 - 325 of 2617) sorted by null

<<11121314151617181920>>

  /libcore/luni/src/main/java/java/util/concurrent/
Exchanger.java 13 * A synchronization point at which threads can pair and swap elements
23 * to swap buffers between threads so that the thread filling the
65 * <p>Memory consistency effects: For each pair of threads that
89 * CAS, or vice-versa. So threads may need to retry these
93 * threads using an Exchanger, but performance rapidly
95 * there are lots of threads using an exchanger. So instead we use
98 * threads performing an exchange. Incoming threads pick slots
110 * In other cases, occupying threads eventually give up and try
111 * another slot. Waiting threads spin for a while (a period tha
    [all...]
  /cts/tests/tests/app/src/android/app/cts/
NotificationManagerTest.java 24 import android.provider.Telephony.Threads;
69 final Intent intent = new Intent(Intent.ACTION_MAIN, Threads.CONTENT_URI);
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
Barrier.java 48 // releases all threads
50 // notify blocked threads that threshold has been reached
  /external/bluetooth/glib/gio/
gioscheduler.c 36 * into the main event loop (#GMainLoop) and may use threads if they
115 * want to cache some threads, but not keep around
116 * those threads forever. */
257 /* Threads not available, instead do the i/o sync inside a
370 /* We just immediately re-enter in the case of idles (non-threads)
371 * Anything else would just deadlock. If you can't handle this, enable threads.
436 /* We just immediately re-enter in the case of idles (non-threads)
437 * Anything else would just deadlock. If you can't handle this, enable threads.
  /external/chromium/base/
shared_memory_unittest.cc 219 // Create a set of N threads to each open a shared memory segment and write to
223 // On POSIX we have a problem when 2 threads try to create the shmem
239 // Spawn the threads.
247 // Wait for the threads to finish.
261 // Create a set of threads to each open a shared memory segment and write to it
268 // Spawn the threads.
276 // Wait for the threads to finish.
329 // not just across threads. But the test is enabled on all platforms.
  /external/chromium/chrome/common/
worker_thread_ticker.cc 75 // Do this in a lock because we don't want 2 threads to
88 // Do this in a lock because we don't want 2 threads to
  /external/chromium/third_party/libjingle/source/talk/base/
ssladapter.h 66 // Call to initialize additional threads.
69 // Call to cleanup additional threads, and also the main thread.
  /external/dbus/test/name-test/
Makefile.am 19 noinst_PROGRAMS=test-pending-call-dispatch test-pending-call-timeout test-threads-init test-ids test-shutdown test-privserver test-privserver-client
35 test-threads-init.c
  /external/libusb-compat/
README 21 transfers in their own threads and simply killing the thread when they
25 backed by libusb-1.0, forcefully killing threads in this way is likely
  /frameworks/av/services/camera/libcameraservice/
CameraHardwareStub.h 22 #include <utils/threads.h>
26 #include <utils/threads.h>
  /frameworks/base/core/jni/
android_database_SQLiteGlobal.cpp 53 // threads as long as no two threads use the same database connection at the same
  /libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DdmVmInternal.java 30 * This is built into the VM, since that's where threads get managed.
55 * Get status info for all threads. This is for the THST chunk.
  /libcore/luni/src/test/java/tests/java/sql/
MultiThreadAccessTest.java 115 * A few threads execute select operation in the same time for one table in
116 * the database. Number of threads is defined by numThreads variable
127 * A few threads execute select operation in the same time for different
128 * tables in the database. Number of threads is defined by numThreads
140 * A few threads execute update, insert and delete operations in the same
141 * time for one table in the database. Number of threads is defined by
196 * A few threads execute update operation in the same time for one tables in
197 * the database. Number of threads is defined by numThreads variable
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/
local_lim.h 64 /* The number of threads per process. */
66 /* We have no predefined limit on the number of threads. */
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/bits/
local_lim.h 64 /* The number of threads per process. */
66 /* We have no predefined limit on the number of threads. */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/bits/
local_lim.h 64 /* The number of threads per process. */
66 /* We have no predefined limit on the number of threads. */
  /external/chromium/base/synchronization/
condition_variable_unittest.cc 52 // threads and control them throughout their lifetime, as well as maintaining
54 // will command the the worker threads to terminate. At that point, the test
71 // Worker threads only call the following methods.
86 // Worker threads can call them but not needed to acquire a lock.
109 // threads are all in a wait state.
122 // Both worker threads and controller use the following to synchronize.
124 ConditionVariable work_is_available_; // To tell threads there is work.
127 ConditionVariable all_threads_have_ids_; // All threads are running.
140 bool shutdown_; // Set when threads need to terminate.
194 WorkQueue queue(kThreadCount); // Start the threads
    [all...]
  /external/chromium/chrome/browser/
process_singleton_uitest.cc 33 // This is for the code that is to be ran in multiple threads at once,
36 // NewRunnableMethod class to run the StartChrome methods in many threads.
90 // Try to get all threads to launch the app at the same time.
137 // We use a manual reset so that all threads wake up at once when signaled
144 // Start the threads and create the starters.
154 // Stop the threads.
206 // The idea is to start chrome from multiple threads all at once.
211 // The event that will get all threads to wake up simultaneously and try
231 // We use a single event to get all threads to do the AppLaunch at the same
249 // Here we prime all the threads with a ChromeStarter that will wait fo
    [all...]
  /external/srec/portable/include/
ptrd.h 62 * Every thread has a priority. Threads with higher priority are executed in preference
63 * to threads with lower priority. When code running in some thread creates a new Thread
154 * this monitor and waits until another thread notifies threads waiting on
198 * the usual manner with any other threads that might be actively competing to
216 * Wakes up all threads that are waiting on this monitor. A thread waits on
222 * The awakened threads will not be able to proceed until the current thread
223 * relinquishes the monitor. The awakened threads will compete in the usual
224 * manner with any other threads that might be actively competing to
225 * synchronize on this monitor; for example, the awakened threads enjoy no
368 * Function prototype that launched threads must conform to
    [all...]
  /libcore/luni/src/main/java/java/util/concurrent/locks/
ReentrantReadWriteLock.java 29 * indefinitely postpone one or more reader or writer threads, but
34 * <dd> When constructed as fair, threads contend for entry using an
37 * be assigned the write lock, or if there is a group of reader threads
38 * waiting longer than all waiting writer threads, that group will be
46 * its wait, leaving one or more reader threads as the longest waiters
52 * implies there are no waiting threads). (Note that the non-blocking
55 * possible, regardless of waiting threads.)
145 * more reader threads than writer threads, and entail operations with
279 * as a heuristic, and would be great for threads to cache
    [all...]
  /dalvik/vm/
Thread.cpp 67 All threads are native pthreads. All threads, except the JDWP debugger
70 instructions from the debugger.) Internal VM threads are in the "system"
73 The GC only runs when all threads have been suspended. Threads are
77 Certain debugger events may inspire threads to self-suspend.
84 Internal native VM threads, such as the finalizer thread, must explicitly
88 Threads may be suspended by the GC, debugger, or the SIGQUIT listener
89 thread. The debugger may suspend or resume individual threads, while the
90 GC always suspends all threads. Each thread has a "suspend count" tha
    [all...]
  /bionic/libc/kernel/arch-arm/asm/
hardirq.h 22 #include <linux/threads.h>
smp.h 21 #include <linux/threads.h>
  /bionic/libc/kernel/arch-mips/asm/
smp.h 24 #include <linux/threads.h>
  /bionic/libc/kernel/arch-x86/asm/
hardirq_32.h 21 #include <linux/threads.h>

Completed in 1668 milliseconds

<<11121314151617181920>>