[squeak-dev] Re: what was the index of TheInputSemaphore in older VMs?

Eliot Miranda eliot.miranda at gmail.com
Wed Jan 28 23:08:34 UTC 2009


On Wed, Jan 28, 2009 at 2:59 PM, Andreas Raab <andreas.raab at gmx.de> wrote:

> Eliot Miranda wrote:
>
>> #define TheInterruptSemaphore null
>>
>> so if one opens up the 1995 image and it tries to set the input semaphore
>> it'll simply overwrite nil, which won't make the system very happy.  So once
>> again,
>>
>> anyone know what the correct value for TheInputSemaphore should be in a
>> circa 1995 VM/image?
>>
>
> ObjectMemory>>initializeSpecialObjectIndices
>        ProcessSignalingLowSpace := 22. "was TheInputSemaphore"
>
> I think "reusing" this index is wrong and should be considered broken
> (though it certainly doesn't matter for the Cog VM).


I agree.  The right thing to do then is to rip out TheInputSemaphore and
make primInputSemaphore: fail for older usage.


>
>
> Cheers,
>  - Andreas
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20090128/1165232d/attachment.htm


More information about the Squeak-dev mailing list