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

  /external/chromium_org/mojo/system/
waiter.cc 5 #include "mojo/system/waiter.h"
15 Waiter::Waiter()
25 Waiter::~Waiter() {
28 void Waiter::Init() {
39 MojoResult Waiter::Wait(MojoDeadline deadline, uint32_t* context) {
85 void Waiter::Awake(MojoResult result, uint32_t context) {
waiter.h 19 // IMPORTANT (all-caps gets your attention, right?): |Waiter| methods are called
20 // under other locks, in particular, |Dispatcher::lock_|s, so |Waiter| methods
23 class MOJO_SYSTEM_IMPL_EXPORT Waiter {
25 Waiter();
26 ~Waiter();
28 // A |Waiter| can be used multiple times; |Init()| should be called before
58 // Wake the waiter up with the given result and context (or no-op if it's been
75 DISALLOW_COPY_AND_ASSIGN(Waiter);
  /external/chromium_org/base/synchronization/
waitable_event.h 113 class Waiter {
115 // Signal the waiter to wake up.
117 // Consider the case of a Waiter which is in multiple WaitableEvent's
119 // signaled at the same time. Now, each will wake only the first waiter in
122 // to dequeue the waiter from the other wait-list in time), two auto-resets
123 // will have happened, but only one waiter has been signaled!
125 // Because of this, a Waiter may "reject" a wake by returning false. In
137 virtual ~Waiter() {}
159 bool Dequeue(Waiter* waiter, void* tag)
    [all...]
  /external/chromium_org/chrome/browser/chromeos/login/lock/
screen_locker_browsertest.cc 43 class Waiter : public content::NotificationObserver {
45 explicit Waiter(Browser* browser)
56 virtual ~Waiter() {
89 DISALLOW_COPY_AND_ASSIGN(Waiter);
188 Waiter waiter(browser());
190 waiter.Wait(false /* not locked */, true /* full screen */);
196 Waiter waiter(browser());
199 waiter.Wait(true /* locked */, true /* full screen */)
    [all...]
  /external/chromium_org/net/socket/
websocket_endpoint_lock_manager.h 24 class NET_EXPORT_PRIVATE Waiter : public base::LinkNode<Waiter> {
27 virtual ~Waiter();
35 // lock was not acquired, then |waiter->GotEndpointLock()| will be called when
36 // it is. A Waiter automatically removes itself from the list of waiters when
38 int LockEndpoint(const IPEndPoint& endpoint, Waiter* waiter);
57 // appropriate, calls |waiter->GotEndpointLock()|.
66 typedef base::LinkedList<Waiter> WaiterQueue;
websocket_endpoint_lock_manager.cc 15 WebSocketEndpointLockManager::Waiter::~Waiter() {
27 Waiter* waiter) {
38 lock_info_in_map.queue->Append(waiter);
115 << " and activating next waiter";
116 Waiter* next_job = queue->head()->value();
  /external/chromium_org/extensions/browser/
test_extension_registry_observer.cc 12 class TestExtensionRegistryObserver::Waiter {
14 explicit Waiter(const std::string& extension_id)
38 DISALLOW_COPY_AND_ASSIGN(Waiter);
44 : will_be_installed_waiter_(new Waiter(extension_id)),
45 uninstalled_waiter_(new Waiter(extension_id)),
46 loaded_waiter_(new Waiter(extension_id)),
47 unloaded_waiter_(new Waiter(extension_id)),
  /external/chromium_org/chrome/browser/extensions/
extension_gcm_app_handler_unittest.cc 72 class Waiter {
74 Waiter() {}
75 ~Waiter() {}
99 base::Bind(&Waiter::OnIOLoopPump, base::Unretained(this)));
117 base::Bind(&Waiter::OnIOLoopPumpCompleted, base::Unretained(this)));
126 base::Bind(&Waiter::PumpIOLoopCompleted, base::Unretained(this)));
131 DISALLOW_COPY_AND_ASSIGN(Waiter);
136 FakeExtensionGCMAppHandler(Profile* profile, Waiter* waiter)
138 waiter_(waiter),
380 Waiter* waiter() { return &waiter_; } function in class:extensions::ExtensionGCMAppHandlerTest
    [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 267 milliseconds