Re: deadlock vs global mutex for pmc scans

2003-09-04 Thread Dan Sugalski
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 in

Re: deadlock vs global mutex for pmc scans

2003-09-04 Thread Leopold Toetsch
Uri Guttman <[EMAIL PROTECTED]> wrote: > so i don't see any major downside to a global mutex vs the nastiness of > deadlocks and handling them. the mutex means no difficult coding issues > and it can handle all the different (i agree with dan and vote for one > common scan iterator) possible scan