Publish-Subscribe, Weak Arrays and Garbage Collection...

Raab, Andreas Andreas.Raab at disney.com
Thu Apr 29 17:24:39 UTC 1999


Hi,

> So my questions are:
> Is this a synchronization problem with the FinalizationProcess in
> WeakArray?
> 
It might well be.

> is the WeakKeyDictionary class process safe, or how can I make it so?
> 
WeakKeyDictionary is not process safe - WeakRegistry is. If you have a look
at its implementation then you should be able to secure the
WeakKeyDictionary the very same way.

> Do I need to integrate my (PostOffice) class with the
> FinalizationSemaphore
> or FinalizationLock of class WeakArray - how would I do this, how do I
> access these semaphores?
> 
This should not be necessary at all.

  Andreas
--
+===== Andreas Raab ========= (andreasr at wdi.disney.com) ==+
| Walt Disney Imagineering        Phone: +1 818 544 5016  I
I Glendale, CA                    Fax:   +1 818 544 4544  I
+======< http://isgwww.cs.uni-magdeburg.de/~raab >========+





More information about the Squeak-dev mailing list