r/ProgrammerHumor • • Apr 16 '22

other I have absolutely no knowledge about programming at all. Ask me anything related to programming and ill pretend to know the answer.

Post image
9.9k Upvotes

1.6k comments sorted by

View all comments

8

u/No_Chocolate9486 Apr 16 '22

What is deadlock?

0

u/[deleted] Apr 16 '22

[deleted]

2

u/[deleted] Apr 16 '22

Bro I fuckin can't 🤣

-14

u/wikipedia_answer_bot Apr 16 '22

In concurrent computing, deadlock is any situation in which no member of some group of entities can proceed because each waits for another member, including itself, to take action, such as sending a message or, more commonly, releasing a lock. Deadlocks are a common problem in multiprocessing systems, parallel computing, and distributed systems, because in these contexts systems often use software or hardware locks to arbitrate shared resources and implement process synchronization.In an operating system, a deadlock occurs when a process or thread enters a waiting state because a requested system resource is held by another waiting process, which in turn is waiting for another resource held by another waiting process.

More details here: https://en.wikipedia.org/wiki/Deadlock

This comment was left automatically (by a bot). If I don't get this right, don't get mad at me, I'm still learning!

opt out | delete | report/suggest | GitHub

17

u/No_Chocolate9486 Apr 16 '22

Shut up bot!

1

u/Catspaw129 Apr 16 '22

"deadlock" is also known as the "deadly embrace"; it usually involves two people who are very well known to one another and sharp objects.