Re: [PATCH 1/2] workqueue: Add new function mod_fwd_delayed_work()

From: Mark Brown
Date: Wed Feb 22 2017 - 13:28:02 EST


On Wed, Feb 22, 2017 at 05:41:24PM +0000, Harald Geyer wrote:
> Drivers calling queue_delayed_work() or mod_delayed_work() multiple times
> on the same work without coordination get undefined behaviour. Add a new
> function, which is easier to use.

The obvious question here, especially in the case of mod_delayed_work(),
is why not fix the existing functions to have the expected behaviour?

Attachment: signature.asc
Description: PGP signature