Re: Warn people about flush_scheduled_work()
From: Oliver Neukum
Date: Mon Dec 14 2009 - 16:42:06 EST
Am Montag, 14. Dezember 2009 22:33:38 schrieb Alan Stern:
> Consider using cancel_work_sync() or cancel_delayed_work_sync()
> instead. In most situations they will accomplish what you
> need.
In which respect is cancel_work_sync() fundamentally safer?
If the work is already running and takes a lock you are holding,
then what?
Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/