L-3.5: LOCK Variable in OS | Process Synchronization
The Truth about Lock free Programming.
Комментарии
This is the kind of content I like: short, simple, straight to the point. Beautiful.
albertoossola
These conceptual micro videos are very great! Thanks!!
sundarb
I loved it. Clear, practical and short explanation.
amaia
You are great man, thanks for this quick and straightforward explanation ;)
_RahmaF
So the mutex lock uses wait? I thought you needed a condition for that.
ivankontra
Expand bit more by adding 2 more locks like lock(x) lock(y) r=r+1 unlock (y) unlock (x)... Same code for another thread but r=r-1... Can u explain how a deadlock can occur in threads by modifying the locks
nalinim
i still don't get it though, why would two threads use more resources simply because both have access to a variable?
WindBendsSteel
if you want to add more variables in a lock can you do it?