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

  /external/chromium_org/mojo/system/
waiter.cc 5 #include "mojo/system/waiter.h"
15 Waiter::Waiter()
24 Waiter::~Waiter() {
27 void Waiter::Init() {
38 MojoResult Waiter::Wait(MojoDeadline deadline) {
79 void Waiter::Awake(MojoResult wait_result) {
waiter.h 17 // IMPORTANT (all-caps gets your attention, right?): |Waiter| methods are called
18 // under other locks, in particular, |Dispatcher::lock_|s, so |Waiter| methods
21 class MOJO_SYSTEM_IMPL_EXPORT Waiter {
23 Waiter();
24 ~Waiter();
26 // A |Waiter| can be used multiple times; |Init()| should be called before
42 // Wake the waiter up with the given result (or no-op if it's been woken up
55 DISALLOW_COPY_AND_ASSIGN(Waiter);
  /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...]
  /external/chromium_org/base/synchronization/
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() {}
148 bool Dequeue(Waiter* waiter, void* tag)
    [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...]
  /external/chromium_org/chrome/browser/chromeos/login/
screen_locker_browsertest.cc 41 class Waiter : public content::NotificationObserver {
43 explicit Waiter(Browser* browser)
54 virtual ~Waiter() {
87 DISALLOW_COPY_AND_ASSIGN(Waiter);
187 Waiter waiter(browser());
189 waiter.Wait(false /* not locked */, true /* full screen */);
195 Waiter waiter(browser());
198 waiter.Wait(true /* locked */, true /* full screen */)
    [all...]
  /external/chromium_org/mojo/public/tests/
simple_bindings_support.h 36 struct Waiter {
42 typedef std::list<Waiter*> WaiterList;
  /external/valgrind/unittest/
posix_tests.cc 120 void Waiter() {
137 MyThreadArray t(Poster, Waiter);
1101 void Waiter() {
1119 MyThreadArray t(Waiter, Waker);
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...]
  /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/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 322 milliseconds