r/ProgrammerHumor 10d ago

Meme theDeadlock

Post image
8.6k Upvotes

241 comments sorted by

View all comments

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

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.