Messages in this thread | | | From | "Andreas Hindborg (Samsung)" <> | Subject | Re: [PATCH v1 4/7] rust: workqueue: define built-in queues | Date | Fri, 02 Jun 2023 12:23:21 +0200 |
| |
Alice Ryhl <aliceryhl@google.com> writes:
> Andreas Hindborg <nmi@metaspace.dk> writes: >> Alice Ryhl <aliceryhl@google.com> writes: >>> +/// Returns the system freezable work queue (`system_freezable_wq`). >>> +/// >>> +/// It is equivalent to the one returned by [`system`] except that it's freezable. >> >> Can we add a short definition of what "freezable" means? > > I don't know what it means, but I would be happy to add an explanation > if you have one.
From https://docs.kernel.org/core-api/workqueue.html:
"A freezable wq participates in the freeze phase of the system suspend operations. Work items on the wq are drained and no new work item starts execution until thawed."
BR Andreas
| |