aboutsummaryrefslogtreecommitdiffstats
path: root/android/async-utils.h
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2010-12-20 08:28:03 -0800
committerVladimir Chtchetkine <vchtchetkine@google.com>2010-12-20 08:28:03 -0800
commite95660aadc669784406d5f5a867988b8ecc2ed0d (patch)
tree480b3feaa14f6d392ceed62dba9cd0334dcba48d /android/async-utils.h
parentaec5741a217d98db6007219c4e28dc24d3ecdb03 (diff)
downloadexternal_qemu-e95660aadc669784406d5f5a867988b8ecc2ed0d.zip
external_qemu-e95660aadc669784406d5f5a867988b8ecc2ed0d.tar.gz
external_qemu-e95660aadc669784406d5f5a867988b8ecc2ed0d.tar.bz2
Resubmit framebuffer service implementation
Change-Id: I184e27a1e8d88835bc9f0502eccfa3f64a7aaf9e
Diffstat (limited to 'android/async-utils.h')
-rw-r--r--android/async-utils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/android/async-utils.h b/android/async-utils.h
index e34e1bb..0b52f37 100644
--- a/android/async-utils.h
+++ b/android/async-utils.h
@@ -80,8 +80,8 @@ typedef struct {
size_t pos;
} AsyncWriter;
-/* Setup an ASyncReader, by giving the address of the read buffer,
- * and the number of bytes we want to read.
+/* Setup an ASyncWriter, by giving the address of the write buffer,
+ * and the number of bytes we want to write.
*
* This also calls loopIo_wantWrite(io) for you.
*/
@@ -100,7 +100,7 @@ void asyncWriter_init(AsyncWriter* aw,
* ECONNRESET in case of disconnection.
*
* ASYNC_NEED_MORE: If not all bytes could be sent yet (or if 'events'
- * doesn't contain LOOP_IO_READ).
+ * doesn't contain LOOP_IO_WRITE).
*/
AsyncStatus asyncWriter_write(AsyncWriter* aw,
LoopIo* io);