<div dir="ltr">Seems like sleep(0) and yield() are implementation-specific enough that they can actually mean the same thing: <a href="http://stackoverflow.com/a/17494898/296025">http://stackoverflow.com/a/17494898/296025</a><br>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 22, 2014 at 3:19 PM, Erik Huelsmann <span dir="ltr"><<a href="mailto:ehuels@gmail.com" target="_blank">ehuels@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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" target="_blank">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"><div><div class="h5"><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" target="_blank">llmjjmll@gmail.com</a>> wrote:<br>
<br>
[…]<br>
<div>> 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><font color="#888888"><br>
--<br>
"A screaming comes across the sky.  It has happened before but there is nothing<br>
</font></span><div>to compare to it now."<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div><div><div>_______________________________________________<br>
Armedbear-devel mailing list<br>
<a href="mailto:Armedbear-devel@common-lisp.net" target="_blank">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></div></div><span class="HOEnZb"><font color="#888888">-- <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>
</font></span></div>
<br>_______________________________________________<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>
<br></blockquote></div><br></div>