[ovs-dev] [threads 05/23] memory: Add note about threaded usage to comment.

Alex Wang alexw at nicira.com
Mon Jul 22 16:18:09 UTC 2013


Looks good to me, thanks,


On Thu, Jul 18, 2013 at 4:15 PM, Ben Pfaff <blp at nicira.com> wrote:

> Signed-off-by: Ben Pfaff <blp at nicira.com>
> ---
>  lib/memory.c |    5 ++++-
>  1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/lib/memory.c b/lib/memory.c
> index 1137390..6c97e19 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)
>  {
> --
> 1.7.2.5
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20130722/bf2aafdd/attachment-0003.html>


More information about the dev mailing list