Re:Mu: making programs easier to understand in the large
by akkartik on Sunday February 14, 2016 @02:08AM
(#11097449)
Yeah, I'm familiar with the notion of critical section, and ideas like Ada's monitors, though my understanding is mostly theoretical.
I'm glad I kept the conversation going so I could find out about your book. Purchased.
Sometimes there is like a critical 'zone,' where a thread acquires the lock when it enters, and releases when it leaves. For example, it could acquire the lock when it enters a class method, and releases it when it leaves the class. Then the class becomes the critical zone.
Maybe learning to think of 'critical zones' is the most important skill to understanding the big picture?