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