From: Stefan Metzmacher Date: Fri, 16 Feb 2018 15:47:57 +0000 (+0100) Subject: tevent: improve documentation of tevent_queue_add_optimize_empty() X-Git-Tag: tevent-0.9.36~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=88d6703b89f9a7f847b6ec47d97569432927dcff;p=thirdparty%2Fsamba.git tevent: improve documentation of tevent_queue_add_optimize_empty() Signed-off-by: Stefan Metzmacher Reviewed-by: Volker Lendecke --- 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. *