diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-08-28 02:37:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:34:51 -0500 |
commit | c9d937b7ebd372a91cbd94130e5995c76e155a0a (patch) | |
tree | dc34d49c131b365473dff9d32455551f76e0845b | |
parent | c98c6aa5611f26ab591c50fcded1fc55e81a0d07 (diff) | |
download | samba-c9d937b7ebd372a91cbd94130e5995c76e155a0a.tar.gz samba-c9d937b7ebd372a91cbd94130e5995c76e155a0a.tar.bz2 samba-c9d937b7ebd372a91cbd94130e5995c76e155a0a.zip |
r9703: r9683@blu: tridge | 2005-08-27 18:56:05 +1000
added a comment about event_context_find()
(This used to be commit 9c230082215dd1f7f19f6b797e7f0c60a9e933fd)
-rw-r--r-- | source4/lib/events/events.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) { |