memory: Add note about threaded usage to comment.
authorBen Pfaff <blp@nicira.com>
Mon, 15 Apr 2013 22:10:47 +0000 (15:10 -0700)
committerBen 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

index 1137390..6c97e19 100644 (file)
@@ -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)
 {