summaryrefslogtreecommitdiff
path: root/lib/tevent
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-05-10 10:27:42 +0200
committerAndreas Schneider <asn@samba.org>2010-05-10 10:28:37 +0200
commit3addebee349d0122781410eea8166f964f885568 (patch)
tree6fc5b859864872838df4c167130923aa5f1a4a4d /lib/tevent
parentd596bb1a1db8cc2851a51525e232bdba984342d6 (diff)
downloadsamba-3addebee349d0122781410eea8166f964f885568.tar.gz
samba-3addebee349d0122781410eea8166f964f885568.tar.bz2
samba-3addebee349d0122781410eea8166f964f885568.zip
tevent: Added a description for tevent queue.
Diffstat (limited to 'lib/tevent')
-rw-r--r--lib/tevent/tevent.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/tevent/tevent.h b/lib/tevent/tevent.h
index 1bca3325cd..40fbbe6bf8 100644
--- a/lib/tevent/tevent.h
+++ b/lib/tevent/tevent.h
@@ -1152,6 +1152,15 @@ struct timeval tevent_timeval_current_ofs(uint32_t secs, uint32_t usecs);
* @defgroup tevent_queue The tevent queue functions
* @ingroup tevent
*
+ * A tevent_queue is used to queue up async requests that must be
+ * serialized. For example writing buffers into a socket must be
+ * serialized. Writing a large lump of data into a socket can require
+ * multiple write(2) or send(2) system calls. If more than one async
+ * request is outstanding to write large buffers into a socket, every
+ * request must individually be completed before the next one begins,
+ * even if multiple syscalls are required.
+ *
+ * Take a look at @ref tevent_queue_tutorial for more details.
* @{
*/