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

Andreas Raab andreas.raab at gmx.de
Tue Feb 7 15:16:12 UTC 2012



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.

Cheers,
   - Andreas




More information about the Vm-dev mailing list