On Wed, 3 Sep 2003, Uri Guttman wrote: > IMO the simplest solution is a global > mutex when doing any scans through the pmcs.
For the lock to be useful any and all mutators would have to aquire it, as well as anyone reading the shared variables, since we need to keep anyone from changing the internal structure of the PMCs, as well as the PMC metastructure, while we're running a scan. (And this gets more interesting if we have multiple interpreters each of which share some data with other interpreters but aren't necessaarily operating in a fully shared environment) Dan