summaryrefslogtreecommitdiff
path: root/lib/tevent
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2018-02-16 16:47:57 +0100
committerKarolin Seeger <kseeger@samba.org>2018-04-20 11:53:09 +0200
commit55b8d619cf3efd4d02dc9460c3b62e7b8a9ada83 (patch)
tree5c61b89675b66b540265d1162231f2ebb67fc0d9 /lib/tevent
parenta588c39a7e661c721706608e579bd08e70393d19 (diff)
downloadsamba-55b8d619cf3efd4d02dc9460c3b62e7b8a9ada83.tar.gz
tevent: improve documentation of tevent_queue_add_optimize_empty()
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13291 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> (cherry picked from commit 88d6703b89f9a7f847b6ec47d97569432927dcff)
Diffstat (limited to 'lib/tevent')
-rw-r--r--lib/tevent/tevent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/tevent/tevent.h b/lib/tevent/tevent.h
index 7284a8559d2..c17d4e11b0d 100644
--- a/lib/tevent/tevent.h
+++ b/lib/tevent/tevent.h
@@ -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.
*