• NeatNit@discuss.tchncs.de
    link
    fedilink
    arrow-up
    64
    ·
    15 hours ago

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

    • chaospatterns@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 hours 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
        link
        fedilink
        arrow-up
        2
        ·
        57 minutes 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.

      • UnfortunateShort@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        13 hours 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)