workqueue: implement flush[_delayed]_work_sync()
authorTejun Heo <tj@kernel.org>
Thu, 16 Sep 2010 08:48:29 +0000 (10:48 +0200)
committerTejun Heo <tj@kernel.org>
Sun, 19 Sep 2010 15:51:05 +0000 (17:51 +0200)
Implement flush[_delayed]_work_sync().  These are flush functions
which also make sure no CPU is still executing the target work from
earlier queueing instances.  These are similar to
cancel[_delayed]_work_sync() except that the target work item is
flushed instead of cancelled.

Signed-off-by: Tejun Heo <tj@kernel.org>

No differences found