• Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    20
    ·
    edit-2
    2 months ago

    You need resource locks to prevent race conditions. Linux has locks as well as every other OS.

    • steventhedev@lemmy.world
      link
      fedilink
      arrow-up
      5
      arrow-down
      4
      ·
      2 months 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.