Re: [PATCH] workqueue: rust: add creation of workqueues
From: Tejun Heo
Date: Thu Apr 17 2025 - 03:28:56 EST
On Thu, Apr 17, 2025 at 09:22:40AM +0200, Philipp Stanner wrote:
> I assume you, ultimately, mean that the list of delayed_work's would be
> accessible through workqueue_struct, correct?
>
> And then destroy_workqueue() could loop over all of them with
> cancel_delayed_work_sync()?
Yeap, I was thinking flush_delayed_work() but maybe
cancel_delayed_work_sync() is better.
Thanks.
--
tejun