Critical sections (was: RE: Lots of concurrency)

Stephen Pair spair at advantive.com
Thu Oct 25 21:37:19 UTC 2001


Speaking of critical sections, some dialects of Smalltalk allow you to
write:

	[ balance := balance - 500 ] critical.

It would be nice to have this in Squeak.  This could eliminate the need
for a mutex instance variable in a number of places.

- Stephen





More information about the Squeak-dev mailing list