686
Closing programs (infosec.pub)
you are viewing a single comment's thread
view the rest of the comments
[-] NeatNit@discuss.tchncs.de 75 points 3 weeks ago

Stop spreading this lie. Linux has a more graceful shutdown process than Windows ever did. It doesn't abruptly kill everything.

[-] Bazell@lemmy.zip 22 points 3 weeks ago

Unless you told him to do so. ๐Ÿ™ƒ

[-] UnfortunateShort@lemmy.world 4 points 3 weeks ago

Well, I don't know whether it's by default, but systemd does so - if the program doesn't close in a timely manner (or there is an exception configured)

[-] chaospatterns@lemmy.world 4 points 3 weeks ago

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.

[-] NeatNit@discuss.tchncs.de 5 points 3 weeks ago

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.

[-] kogasa@programming.dev 4 points 3 weeks ago

Systemd has something like this. I don't know if the kernel itself does.

this post was submitted on 15 Jan 2026
686 points (88.6% liked)

Programmer Humor

29672 readers
819 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS