Windows has something called the ShutdownBlockReasonCreate API which enables apps with long running operations to prevent a shutdown to avoid corruption or losing work.
Is there an equivalent for Linux? When used appropriately, it makes shut downs even more graceful.
I don’t know the technical details, all I know is that if I click Shut Down while I have unsaved work open, it tells me about it and doesn’t just kill everything.
Windows has something called the ShutdownBlockReasonCreate API which enables apps with long running operations to prevent a shutdown to avoid corruption or losing work.
Is there an equivalent for Linux? When used appropriately, it makes shut downs even more graceful.
I don’t know the technical details, all I know is that if I click Shut Down while I have unsaved work open, it tells me about it and doesn’t just kill everything.