Begin forwarded message:
Date: April 21, 2011 9:27:55 AM EDT
Subject: Re: [vwnc] Implementation of Monitor?
On Apr 20, 2011, at 4:56 PM, Janko Mivšek wrote:
Hi David,
On 20. 04. 2011 22:42, C. David Shaffer wrote:
Does anyone know of an implementation of Monitor (the synchronization
tool) similar to the one included in Squeak 4.1 lurking in the public
repo somewhere? I've tried various searches but ended up empty-handed.
If you will using Monitor only for safeguarding critical sections, this
is a VW equivalent:
lock := RecursionLock new.
lock critical: ["code to be executed in critical section"]
Best regards
Janko
Yes, that's all I need. I'm just porting a user addition to the GOODS client from Squeak to VW. This should do it. Thanks!
David
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc