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

  /external/chromium_org/mojo/public/java/src/org/chromium/mojo/system/
AsyncWaiter.java 10 * A class which implements the {@link AsyncWaiter} allows asynchronously waiting on a background
13 public interface AsyncWaiter {
23 * Must be called from the same thread as {@link AsyncWaiter#asyncWait} was called from.
29 * Callback passed to {@link AsyncWaiter#asyncWait}.
  /external/chromium_org/base/synchronization/
waitable_event_watcher_posix.cc 18 // The basic design is that we add an AsyncWaiter to the wait-list of the event.
19 // That AsyncWaiter has a pointer to MessageLoop, and a Task to be posted to it.
57 // fired. An AsyncWaiter may only be in a single wait-list.
59 class AsyncWaiter : public WaitableEvent::Waiter {
61 AsyncWaiter(MessageLoop* message_loop,
78 // We can always return true because an AsyncWaiter is never in two
171 waiter_ = new AsyncWaiter(current_ml, internal_callback_, cancel_flag_.get());
214 // pointer values then it's possible that the AsyncWaiter could have been
217 // AsyncWaiter and remove it.

Completed in 247 milliseconds