From c9d937b7ebd372a91cbd94130e5995c76e155a0a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 28 Aug 2005 02:37:27 +0000 Subject: r9703: r9683@blu: tridge | 2005-08-27 18:56:05 +1000 added a comment about event_context_find() (This used to be commit 9c230082215dd1f7f19f6b797e7f0c60a9e933fd) --- source4/lib/events/events.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/lib/events') diff --git a/source4/lib/events/events.c b/source4/lib/events/events.c index b6ba79430c..4e6eeef78e 100644 --- a/source4/lib/events/events.c +++ b/source4/lib/events/events.c @@ -158,6 +158,10 @@ int event_loop_wait(struct event_context *ev) find an event context that is a parent of the given memory context, or create a new event context as a child of the given context if none is found + + This should be used in preference to event_context_init() in places + where you would prefer to use the existing event context if possible + (which is most situations) */ struct event_context *event_context_find(TALLOC_CTX *mem_ctx) { -- cgit