tevent: Added a description for tevent queue.
authorAndreas Schneider <asn@samba.org>
Mon, 10 May 2010 08:27:42 +0000 (10:27 +0200)
committerAndreas Schneider <asn@samba.org>
Mon, 10 May 2010 08:28:37 +0000 (10:28 +0200)
lib/tevent/tevent.h

index 1bca3325cdf27d25f705dfb85bd71fa14230abb3..40fbbe6bf8f271461b8c2dd6296bb75107602d4d 100644 (file)
@@ -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.
  * @{
  */