<br><br><div class="gmail_quote">On Tue, Feb 7, 2012 at 10:37 AM, Igor Stasenko <span dir="ltr">&lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div></div><div class="h5"><br>
On 7 February 2012 19:48, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Feb 7, 2012 at 7:36 AM, Igor Stasenko &lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 7 February 2012 17:16, Andreas Raab &lt;<a href="mailto:andreas.raab@gmx.de">andreas.raab@gmx.de</a>&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On 2/7/2012 16:06, Igor Stasenko wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On 7 February 2012 08:48, Andreas Raab&lt;<a href="mailto:andreas.raab@gmx.de">andreas.raab@gmx.de</a>&gt;  wrote:<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; On 2/7/2012 3:39, Igor Stasenko wrote:<br>
&gt;&gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;&gt; however, in pharo we already introduced the threadId ivar:<br>
&gt;&gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;&gt; Link subclass: #Process<br>
&gt;&gt; &gt;&gt;&gt;&gt;        instanceVariableNames: &#39;suspendedContext priority myList threadId<br>
&gt;&gt; &gt;&gt;&gt;&gt; errorHandler name env&#39;<br>
&gt;&gt; &gt;&gt;&gt;&gt;        classVariableNames: &#39;&#39;<br>
&gt;&gt; &gt;&gt;&gt;&gt;        poolDictionaries: &#39;&#39;<br>
&gt;&gt; &gt;&gt;&gt;&gt;        category: &#39;Kernel-Processes&#39;<br>
&gt;&gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;&gt; could it be because of initial &quot;warning, processHasThreadId flag is<br>
&gt;&gt; &gt;&gt;&gt;&gt; unset; cannot function as a threaded VM if so.&quot;?<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; Yes. The VM doesn&#39;t actually look at class Process - it only checks the<br>
&gt;&gt; &gt;&gt;&gt; flag<br>
&gt;&gt; &gt;&gt;&gt; in the image header.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; So it is probably needs to be fixed to have warning which not lying to you<br>
&gt;&gt; &gt;&gt; :)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; The warning is entirely correct, it tells you that the processHasThreadId<br>
&gt;&gt; &gt; -&gt;FLAG&lt;- isn&#39;t set.<br>
&gt;&gt; &gt;<br>
&gt;&gt; warning: Process doesn&#39;t have threadId; VM will not thread<br>
&gt;&gt;<br>
&gt;&gt; wheere you see any mention about flag?<br>
&gt;&gt; i think that it is clear to everyone who reading the above that it is<br>
&gt;&gt; not about flag, but<br>
&gt;&gt; about mising thread id var in Process.<br>
&gt;<br>
&gt;<br>
&gt; Whatever.  The VM doesn&#39;t know how to interrogate the class Process to find if it has the inst var.  You tell the VM that Process has the inst var by setting the flag and saving the image.  You set the flag using bit 0 of VM parameter 48.  Find a nice accessor attached.<br>

<br>
</div></div>I know that. Just don&#39;t want a confusion to spread.<br>
For me, those warnings are not an issue. But if others start using<br>
that VM they will see that warning, which will lead to same silly<br>
questions by everyone.<br>
<br>
Actually, i&#39;d rather turn these messages into notifications, not<br>
warnings. Because there are certain gap between things most people can<br>
ignore, and things<br>
that make them scared &quot; oh my. it wanrs me about something that i<br>
don&#39;t understand.. it seems that my image/VM is broken, lets report<br>
that to mailing list...&quot;<br></blockquote><div><br></div><div>OK, so how about</div><div>    warning: VM parameter 48 indicates Process doesn&#39;t have threadId; VM will not thread </div><div>?</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div></div><div class="h5"><br>
--<br>
Best regards,<br>
Igor Stasenko.<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div><br>