omscs-notes-notes icon indicating copy to clipboard operation
omscs-notes-notes copied to clipboard

Deadlocks Section, Simple Typo T1 -> T2

Open theassassin010 opened this issue 2 years ago • 1 comments

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.

theassassin010 avatar Oct 05 '23 12:10 theassassin010

Can you please submit a PR?

m4ttsch avatar Oct 11 '23 19:10 m4ttsch