Grokking Concurrency in Python
Vote

0% completed

​

Fork Safety

What happens to a lock when a process is copied while another of its threads holds that lock? With the fork start method, the answer can be a child process that waits forever for a lock that no thread in it will ever release. The danger depends only on the moment of the fork, so the same program can hang in one run and finish normally in the next.

What Fork Copies and What It Leaves Behind

Start Methods defined fork as creating the child as a copy of the parent at the moment of the call

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content