<div dir="ltr">Hi Mark,<div><br></div><div>Are you sure? According to this article: <a href="http://stackoverflow.com/questions/15048170/difference-between-thread-yield-and-thread-sleep#answers">http://stackoverflow.com/questions/15048170/difference-between-thread-yield-and-thread-sleep#answers</a> , there's no stable Yield implementation across platforms on Java. Do we really want to provide platform defined behaviour?</div>
<div><br></div><div>Bye,</div><div><br></div><div>Erik.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 22, 2014 at 12:50 PM, Mark Evenson <span dir="ltr"><<a href="mailto:evenson@panix.com" target="_blank">evenson@panix.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
On 19 Apr 2014, at 19:53, James M. Lawrence <<a href="mailto:llmjjmll@gmail.com">llmjjmll@gmail.com</a>> wrote:<br>
<br>
[…]<br>
<div class="">> What should bt:thread-yield do? (sleep 0) or (sleep 0.01) or (sleep<br>
> least-positive-single-float) or something else?<br>
<br>
</div>ABCL should implement a THREADS:YIELD primitive mapping directly to<br>
java.lang.Thread.yield().<br>
<br>
In the intermin, impelement bt:thread-yield as<br>
<br>
        (java:jcall "yield" (java:jstatic "currentThread" "java.lang.Thread”))<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
"A screaming comes across the sky.  It has happened before but there is nothing<br>
</font></span><div class="im HOEnZb">to compare to it now."<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Armedbear-devel mailing list<br>
<a href="mailto:Armedbear-devel@common-lisp.net">Armedbear-devel@common-lisp.net</a><br>
<a href="http://common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel" target="_blank">http://common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Bye,<div><br></div><div>Erik.</div><div><br></div><div><a href="http://efficito.com/" target="_blank">http://efficito.com</a> -- Hosted accounting and ERP.</div>
<div>Robust and Flexible. No vendor lock-in.</div></div>
</div>