What a lock actually does
A thread takes a lock before updating a shared list.
What happens to a second thread that reaches the same lock?
A thread takes a lock before updating a shared list.
What happens to a second thread that reaches the same lock?