Jan. 5, 2016
1:17 p.m.
On 05 Jan 2016, at 13:29, Denis Kudriashov <dionisiydk@gmail.com> wrote:
2016-01-05 12:59 GMT+01:00 Max Leske <maxleske@gmail.com <mailto:maxleske@gmail.com>>: What I donât quite understand is why Monitor doesnât use Semaphore>>critical:. If it did that, then there wouldnât be a problem. The problem only exists because #wait and #signal are explicitly sent by the monitor.
Monitor is reentral which means that two recursive critical sections in same process should not be blocked. This logic implemented in #enter and #exit methods
I should start using my head again. This is a new year⦠:) Thanks Denis.