summaryrefslogtreecommitdiff
path: root/lib/tevent
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2018-02-16 16:47:57 +0100
committerStefan Metzmacher <metze@samba.org>2018-02-27 16:00:13 +0100
commit5eaf80b8cba91ba36cc2d24130e4245c8dfcf336 (patch)
treeb832d9ae6b5bddd6782eb40ef805059d44c4b4c0 /lib/tevent
parent73121c488cc09280fa6bdd85c9c39a3c52ab7304 (diff)
downloadsamba-5eaf80b8cba91ba36cc2d24130e4245c8dfcf336.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.
*