From: Ben Pfaff Date: Mon, 15 Apr 2013 22:10:47 +0000 (-0700) Subject: memory: Add note about threaded usage to comment. X-Git-Tag: sliver-openvswitch-2.0.90-1~35^2~10 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=aa48dd760d940ab121ebfa0036d425a0ebdf4091;p=sliver-openvswitch.git memory: Add note about threaded usage to comment. Signed-off-by: Ben Pfaff --- 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) {