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

  /external/chromium/base/synchronization/
waitable_event.h 104 class Waiter {
106 // Signal the waiter to wake up.
108 // Consider the case of a Waiter which is in multiple WaitableEvent's
110 // signaled at the same time. Now, each will wake only the first waiter in
113 // to dequeue the waiter from the other wait-list in time), two auto-resets
114 // will have happened, but only one waiter has been signaled!
116 // Because of this, a Waiter may "reject" a wake by returning false. In
128 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 {
256 // enqueued our waiter in them all.
296 // The locks of the WaitableEvents have been taken in order and the Waiter has
300 // None of the WaitableEvent locks are held. The Waiter has not been enqueued
307 size_t count, Waiter* waiter) {
319 const size_t r = EnqueueMany(waitables + 1, count - 1, waiter);
    [all...]
waitable_event_watcher_posix.cc 49 // This is an asynchronous waiter which posts a task to a MessageLoop when
52 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...]
  /external/chromium/chrome/browser/chromeos/login/
screen_locker_browsertest.cc 32 class Waiter : public NotificationObserver {
34 explicit Waiter(Browser* browser)
47 ~Waiter() {
75 CHROMEGTK_CALLBACK_1(Waiter, gboolean, OnWindowStateEvent,
86 DISALLOW_COPY_AND_ASSIGN(Waiter);
89 gboolean Waiter::OnWindowStateEvent(GtkWidget* widget,
231 Waiter waiter(browser());
233 waiter.Wait(false /* not locked */, true /* full screen */);
238 Waiter waiter(browser())
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
OldAndroidMonitorTest.java 106 Waiter waiter; field in class:OldAndroidMonitorTest.Interrupter
108 Interrupter(String name, Waiter waiter) {
110 this.waiter = waiter;
123 waiter.spin = true;
124 // System.out.println("InterruptTest: starting waiter");
125 waiter.start();
133 /* Waiter is spinning, and its monitor should still be thin
273 Waiter waiter = new Waiter("InterruptTest Waiter"); local
    [all...]
  /external/valgrind/unittest/
windows_tests.cc 511 void Waiter(int *var, HANDLE sem) {
528 tp.Add(NewCallback(Waiter, &VAR, sem));
550 tp.Add(NewCallback(Waiter, &VAR, h1));
567 void Waiter(int *var, HANDLE h) {
590 tp.Add(NewCallback(Waiter, &VAR, h1));
racecheck_unittest.cc 122 // Waiter: Waker:
136 usleep(200000); // Make sure the waiter blocks.
145 void Waiter() {
158 Waiter();
171 // Waiter: Waker:
184 usleep(100000); // Make sure the waiter blocks.
188 COND = 1; // We are done! Tell the Waiter.
191 void Waiter() {
203 Waiter();
243 // test05: FP. Synchronization via CondVar, but waiter does not block. {{{
    [all...]
posix_tests.cc 120 void Waiter() {
137 MyThreadArray t(Poster, Waiter);
1101 void Waiter() {
1119 MyThreadArray t(Waiter, Waker);
  /external/valgrind/main/drd/tests/
tsan_unittest.cpp 362 // Waiter: Waker:
376 usleep(100000); // Make sure the waiter blocks.
385 void Waiter() {
398 Waiter();
411 // Waiter: Waker:
424 usleep(100000); // Make sure the waiter blocks.
428 COND = 1; // We are done! Tell the Waiter.
431 void Waiter() {
443 Waiter();
483 // test05: FP. Synchronization via CondVar, but waiter does not block. {{{
    [all...]

Completed in 307 milliseconds