Grokking Concurrency in Python
Vote

0% completed

​

Finding a Deadlock

From outside, a deadlocked worker process and an idle one look the same. Both keep running, use no CPU, and write nothing to the log. But the deadlocked process never starts new work, because two of its threads each hold a lock that the other is waiting for. A hang like this usually appears under production load, with no debugger attached.

A Deadlock in Harvest

Locks and Lock Ordering defined a deadlock as a state in which each thread of a group waits for a lock that another thread of the group holds

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content