• Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    11
    ·
    18 days ago

    You need resource locks to prevent race conditions. Linux, in fact, has resource locks. They aren’t necessarily kernel resource locks though. For instance, apt is very careful not to screw things up

    • steventhedev@lemmy.world
      link
      fedilink
      arrow-up
      5
      arrow-down
      4
      ·
      18 days ago

      Locks are only held during system calls. Process termination is handled on the system call boundary.

      You’re projecting windows kernel insanity where it doesn’t belong.