[Vm-dev] strange warning in threaded VM/Win

Igor Stasenko siguctua at gmail.com
Tue Feb 7 15:36:43 UTC 2012


On 7 February 2012 17:16, Andreas Raab <andreas.raab at gmx.de> wrote:
>
>
>
> On 2/7/2012 16:06, Igor Stasenko wrote:
>>
>>
>> On 7 February 2012 08:48, Andreas Raab<andreas.raab at gmx.de>  wrote:
>>>
>>> On 2/7/2012 3:39, Igor Stasenko wrote:
>>>>
>>>> however, in pharo we already introduced the threadId ivar:
>>>>
>>>> Link subclass: #Process
>>>>        instanceVariableNames: 'suspendedContext priority myList threadId
>>>> errorHandler name env'
>>>>        classVariableNames: ''
>>>>        poolDictionaries: ''
>>>>        category: 'Kernel-Processes'
>>>>
>>>> could it be because of initial "warning, processHasThreadId flag is
>>>> unset; cannot function as a threaded VM if so."?
>>>
>>>
>>> Yes. The VM doesn't actually look at class Process - it only checks the
>>> flag
>>> in the image header.
>>
>> So it is probably needs to be fixed to have warning which not lying to you
>> :)
>
>
> The warning is entirely correct, it tells you that the processHasThreadId
> ->FLAG<- isn't set.
>
warning: Process doesn't have threadId; VM will not thread

wheere you see any mention about flag?
i think that it is clear to everyone who reading the above that it is
not about flag, but
about mising thread id var in Process.

> Cheers,
>  - Andreas
>
>



-- 
Best regards,
Igor Stasenko.


More information about the Vm-dev mailing list