HomeSort by relevance Sort by last modified time
    Searched refs:Waiter (Results 1 - 4 of 4) sorted by null

  /external/chromium/base/
waitable_event.h 102 class Waiter {
104 // Signal the waiter to wake up.
106 // Consider the case of a Waiter which is in multiple WaitableEvent's
108 // signaled at the same time. Now, each will wake only the first waiter in
111 // to dequeue the waiter from the other wait-list in time), two auto-resets
112 // will have happened, but only one waiter has been signaled!
114 // Because of this, a Waiter may "reject" a wake by returning false. In
126 virtual ~Waiter() {}
151 bool Dequeue(Waiter* waiter, void* tag)
    [all...]
waitable_event_posix.cc 18 // waiter is either an async wait, in which case we have a Task and the
28 // firing a waiter and so we can store that pointer to find out which event
79 // This is a synchronous waiter. The thread is waiting on the given condition
82 class SyncWaiter : public WaitableEvent::Waiter {
259 // enqueued our waiter in them all.
299 // The locks of the WaitableEvents have been taken in order and the Waiter has
303 // None of the WaitableEvent locks are held. The Waiter has not been enqueued
310 size_t count, Waiter* waiter) {
322 const size_t r = EnqueueMany(waitables + 1, count - 1, waiter);
    [all...]
waitable_event_watcher_posix.cc 50 // This is an asynchronous waiter which posts a task to a MessageLoop when
53 class AsyncWaiter : public WaitableEvent::Waiter {
205 // We have no kernel. This means that we never enqueued a Waiter on an
224 // fired, freed and the memory reused for a different Waiter which was
225 // enqueued in the same wait-list. We would think that that waiter was our
232 // still exists. So if we find a waiter with the correct pointer value, and
235 // Case 2: the waiter hasn't been signaled yet; it was still on the wait
237 // have been enqueued with the MessageLoop because the waiter was never
245 // Case 3: the waiter isn't on the wait-list, thus it was signaled. It may
247 // task on the MessageLoop, but to delete it instead. The Waiter delete
    [all...]
  /frameworks/base/tests/CoreTests/android/core/
MonitorTest.java 110 Waiter waiter; field in class:MonitorTest.Interrupter
112 Interrupter(String name, Waiter waiter) {
114 this.waiter = waiter;
127 waiter.spin = true;
128 // System.out.println("InterruptTest: starting waiter");
129 waiter.start();
137 /* Waiter is spinning, and its monitor should still be thin
277 Waiter waiter = new Waiter("InterruptTest Waiter"); local
    [all...]

Completed in 321 milliseconds