[squeak-dev] Questions about external objects

David T. Lewis lewis at mail.msen.com
Sat Oct 25 23:06:58 UTC 2014


On Sat, Oct 25, 2014 at 10:02:22PM +0200, Levente Uzonyi wrote:
> On Sat, 25 Oct 2014, David T. Lewis wrote:
> >
> >I don't see the indexesByObjects dictionary actually being updated, except
> >in the case of setting a new externalObjectsArray in the 
> >ExternalSemaphoreTable.
> >I think I am overlooking something?
> 
> It's updated in #safelyRegisterExternalObject: and 
> #safelyUnregisterExternalObject:, but - as the class comment states - it's 
> only used for non-Semaphores.

Sorry, I should have looked more carefully. This works exactly as expected
and as documented in the class comment:

  ExternalSemaphoreTable registerExternalObject: Object new.

Dave


More information about the Squeak-dev mailing list