tevent: improve documentation of tevent_queue_add_optimize_empty()
authorStefan Metzmacher <metze@samba.org>
Fri, 16 Feb 2018 15:47:57 +0000 (16:47 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 23 Feb 2018 03:09:17 +0000 (04:09 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
lib/tevent/tevent.h

index 7284a8559d21838247f0995b6925db8015fedddf..c17d4e11b0d32f0e43108b5afb2f360413c4dd85 100644 (file)
@@ -1611,6 +1611,9 @@ struct tevent_queue_entry *tevent_queue_add_entry(
  * already called tevent_req_notify_callback(), tevent_req_error(),
  * tevent_req_done() or a similar function.
  *
+ * The trigger function has no chance to see the returned
+ * queue_entry in the optimized case.
+ *
  * The request can be removed from the queue by calling talloc_free()
  * (or a similar function) on the returned queue entry.
  *