Hello,
On 04/23/2010 03:08 AM, Arve Hjønnevåg wrote:
Hmm... I think this can be implemented as pure wrapper around
workqueue instead of injecting a flag and code into workqueue core.
Adding @fn field to suspend_blocking_work struct and using a custom
work function to call it and then invoke suspend_unblock() should be
enough, right? Oh, dedicated queue functions will be needed too. I
don't think it's wise to meddle with workqueue core code for this.
Thanks.
--
tejun
--