Searched defs:AsyncContext (Results 1 - 3 of 3) sorted by relevance

/external/chromium/net/base/
H A Dfile_stream_posix.cc131 // FileStream::AsyncContext ----------------------------------------------
133 class FileStream::AsyncContext { class in class:net::FileStream
135 AsyncContext();
136 ~AsyncContext();
158 // MessageLoop or by ~AsyncContext().
161 // The MessageLoopForIO that this AsyncContext is running on.
167 CompletionCallbackImpl<AsyncContext> background_io_completed_callback_;
169 // This is used to synchronize between the AsyncContext destructor (which runs
180 DISALLOW_COPY_AND_ASSIGN(AsyncContext);
183 FileStream::AsyncContext function in class:net::FileStream::AsyncContext
[all...]
H A Dfile_stream_win.cc51 // FileStream::AsyncContext ----------------------------------------------
53 class FileStream::AsyncContext : public MessageLoopForIO::IOHandler { class in class:net::FileStream
55 AsyncContext(FileStream* owner) function in class:net::FileStream::AsyncContext
59 ~AsyncContext();
76 FileStream::AsyncContext::~AsyncContext() {
91 void FileStream::AsyncContext::IOCompletionIsPending(
97 void FileStream::AsyncContext::OnIOCompleted(
134 async_context_.reset(new AsyncContext(this));
171 async_context_.reset(new AsyncContext(thi
[all...]
/external/qemu/
H A Dasync.c29 * An AsyncContext protects the callbacks of AIO requests and Bottom Halves
39 * To achieve the desired semantics we switch into a new AsyncContext.
40 * Callbacks must only be run if they belong to the current AsyncContext.
47 struct AsyncContext { struct
48 /* Consecutive number of the AsyncContext (position in the stack) */
55 struct AsyncContext *parent;
58 /* The currently active AsyncContext */
59 static struct AsyncContext *async_context = &(struct AsyncContext) { 0 };
62 * Enter a new AsyncContext
[all...]

Completed in 1204 milliseconds