[squeak-dev] Re: cannot step Through critical blocks
marcel.taeumel
Marcel.Taeumel at hpi.de
Fri Apr 8 06:49:03 UTC 2016
Hi Chris!
It may be that Mutex has no support for re-entrancy. You can use a Semaphore
instead:
| accessProtect |
accessProtect := Semaphore forMutualExclusion.
accessProtect critical: [ [Object new ] on: Notification do: [ : noti | ] ].
Then, step-through works.
Best,
Marcel
--
View this message in context: http://forum.world.st/cannot-step-Through-critical-blocks-tp4888942p4888976.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.
More information about the Squeak-dev
mailing list
|