From 13712e46ce30b5ad84a30994d03fedfbab2a3820 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 6 Nov 2009 13:42:49 +0000 Subject: Fix a potential race condition git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2234 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/sched/work_cancel.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'nuttx/sched/work_cancel.c') diff --git a/nuttx/sched/work_cancel.c b/nuttx/sched/work_cancel.c index d3a79f0b6..92393dec3 100755 --- a/nuttx/sched/work_cancel.c +++ b/nuttx/sched/work_cancel.c @@ -79,7 +79,9 @@ * Name: work_cancel * * Description: - * Cancel previously queued work. + * Cancel previously queued work. This removes work from the work queue. + * After work has been canceled, it may be re-queue by calling work_queue() + * again. * * Input parameters: * work - The previously queue work structure to cancel -- cgit v1.2.3