m4ttsch / omscs-notes-notes

The raw markdown notes for OMSCS Notes.
https://www.omscs-notes.com
MIT License
150 stars 148 forks source link

Deadlocks Section, Simple Typo T1 -> T2 #89

Open theassassin010 opened 11 months ago

theassassin010 commented 11 months ago

What needs to be fixed?

In the Deadlocks section, in the 4th paragraph --

This is where the problem lies. T2 will not be able to lock the mutex for A, because T1 is holding it. T1 will not be able to lock the mutex for B, because T1 T2 is holding it. More importantly, neither T1 nor T2 will be able to release the mutex that the other needs, since they are both blocking trying to acquire the mutex the other has.

m4ttsch commented 11 months ago

Can you please submit a PR?