workqueue: add 'flush_delayed_work()' to run and wait for delayed work
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 14 Oct 2009 16:16:42 +0000 (09:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 14 Oct 2009 16:16:42 +0000 (09:16 -0700)
commit43046b606673c9c991919ff75b980b72541e9ede
tree86e89561891ed7833bd8229c2d06734aede63fec
parent45242006e19c6f99945554e4d7d5680caf6ed9ad
workqueue: add 'flush_delayed_work()' to run and wait for delayed work

It basically turns a delayed work into an immediate work, and then waits
for it to finish.
include/linux/workqueue.h
kernel/workqueue.c