shimdidly@lemmy.world to linuxmemes@lemmy.world · 5 months agoLinux: I'm not askingfiles.catbox.moevideomessage-square42fedilinkarrow-up1230arrow-down18
arrow-up1222arrow-down1videoLinux: I'm not askingfiles.catbox.moeshimdidly@lemmy.world to linuxmemes@lemmy.world · 5 months agomessage-square42fedilink
minus-squarePossibly linux@lemmy.ziplinkfedilinkEnglisharrow-up11·5 months agoYou 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
minus-squaresteventhedev@lemmy.worldlinkfedilinkarrow-up5arrow-down4·5 months agoLocks 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.
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
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.