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

Igor Stasenko siguctua at gmail.com
Tue Feb 7 02:39:47 UTC 2012


i just built a threaded cog VM for win32,
and when i starting an image, a console window shows warnings:
# Debug console
# To close: F2 -> 'debug options' -> 'show output console'
# To disable: F2 -> 'debug options' -> 'show console on errors'
warning, processHasThreadId flag is unset; cannot function as a
threaded VM if so.
warning: Process doesn't have threadId; VM will not thread
warning: Process doesn't have threadId; VM will not thread
warning: Process doesn't have threadId; VM will not thread
warning: Process doesn't have threadId; VM will not thread
warning: Process doesn't have threadId; VM will not thread
warning: Process doesn't have threadId; VM will not thread
warning: Process doesn't have threadId; VM will not thread
warning: Process doesn't have threadId; VM will not thread
warning: Process doesn't have threadId; VM will not thread
warning: Process doesn't have threadId; VM will not thread


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."?

-- 
Best regards,
Igor Stasenko.


More information about the Vm-dev mailing list