[Vm-dev] Where to get Monitor implementation based on primitives?

Ben Coman btc at openinworld.com
Thu Jan 7 16:21:57 UTC 2016

On Thu, Jan 7, 2016 at 8:24 PM, Denis Kudriashov <dionisiydk at gmail.com> wrote:
> Hello.
> I hear about new Monitor implementation based on new primitives.
> Where to get it?

A while ago Eliot mentioned some mutex primitives.  I didn't follow up
then, but maybe now is the right time to try these.  I can't find the
post, but looking just now I found some likely candidates at [1]:
- 185 primitiveExitCriticalSection
- 186 primitiveEnterCriticalSection
- 187 primitiveTestAndSetOwnershipOfCriticalSection

However I can't find any image side code in Squeak or Newspeak.

[1] https://github.com/pharo-project/pharo-vm/search?utf8=%E2%9C%93&q=criticalsection

cheers -ben

More information about the Vm-dev mailing list