git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3d491b
)
r9703: r9683@blu: tridge | 2005-08-27 18:56:05 +1000
author
Andrew Tridgell
<tridge@samba.org>
Sun, 28 Aug 2005 02:37:27 +0000
(
02:37
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:34:51 +0000
(13:34 -0500)
added a comment about event_context_find()
source/lib/events/events.c
patch
|
blob
|
history
diff --git
a/source/lib/events/events.c
b/source/lib/events/events.c
index b6ba79430c633438692f088f2e953912dc5ed758..4e6eeef78e62290fb90403a4860c90e06a5bd5f1 100644
(file)
--- a/
source/lib/events/events.c
+++ b/
source/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)
{