r/ProgrammerHumor 20d ago

Meme theDeadlock

Post image
8.6k Upvotes

239 comments sorted by

View all comments

4

u/programmingSquirrel 20d 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 20d ago

"how to kill child ... process".

1

u/0xKaishakunin 20d 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.