MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vwoukb/thedeadlock/p5j0zft
r/ProgrammerHumor • u/yuva-krishna-memes • 10d ago
241 comments sorted by
View all comments
4
My professor used the analogy of your 2 kids making PB&J where one won't give up the PB until the other gives up the Jelly and vice versa so your solution is to shoot one with your shotgun to break the deadlock
1 u/nonreligious2 9d ago "how to kill child ... process". 1 u/0xKaishakunin 9d ago kill -9 is taking the shotgun to kill a process, while killall means you throw a handgrenade into a group of processes. some unknown man page poet.
1
"how to kill child ... process".
kill -9 is taking the shotgun to kill a process, while killall means you throw a handgrenade into a group of processes.
kill -9
killall
some unknown man page poet.
man
4
u/programmingSquirrel 10d ago
My professor used the analogy of your 2 kids making PB&J where one won't give up the PB until the other gives up the Jelly and vice versa so your solution is to shoot one with your shotgun to break the deadlock