git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5947bbe
)
memory: Add note about threaded usage to comment.
author
Ben Pfaff
<blp@nicira.com>
Mon, 15 Apr 2013 22:10:47 +0000
(15:10 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Mon, 22 Jul 2013 17:53:09 +0000
(10:53 -0700)
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/memory.c
patch
|
blob
|
history
diff --git
a/lib/memory.c
b/lib/memory.c
index
1137390
..
6c97e19
100644
(file)
--- a/
lib/memory.c
+++ b/
lib/memory.c
@@
-51,7
+51,10
@@
static void memory_init(void);
/* Runs the memory monitor.
*
- * The client should call memory_should_report() afterward. */
+ * The client should call memory_should_report() afterward.
+ *
+ * This function, and the remainder of this module's interface, should be
+ * called from only a single thread. */
void
memory_run(void)
{