From aa48dd760d940ab121ebfa0036d425a0ebdf4091 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 15 Apr 2013 15:10:47 -0700 Subject: [PATCH] memory: Add note about threaded usage to comment. Signed-off-by: Ben Pfaff --- lib/memory.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/memory.c b/lib/memory.c index 1137390cb..6c97e190a 100644 --- 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) { -- 2.43.0