strange warning in threaded VM/Win
Igor Stasenko <siguctua <at> gmail.com>
2012-02-07 02:39:47 GMT
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."?
(Continue reading)