[Armedbear-devel] Non-zero timeouts CL:SLEEP and THREADS:OBJECT-WAIT below the timer Planck limit interpolated as a nanosecond

James M. Lawrence llmjjmll at gmail.com
Sat Apr 19 17:53:23 UTC 2014

On Sat, Apr 19, 2014 at 1:40 PM, Mark Evenson <evenson at panix.com> wrote:
> On 19/04/14 18:44, James M. Lawrence wrote:
>> Hi, lparallel tests now pass with the timeout change in this pull request
>> https://github.com/sionescu/bordeaux-threads/pull/6
>> One thing that puzzles me -- I checked old versions of ABCL back to
>> 1.0.0, and none gave an indefinite wait for (sleep 0). Do you remember
>> why you changed (sleep 0) to (sleep 0.01) in thread-yield in February
>> 2011? I changed it back to (sleep 0) in the pull request, but I didn't
>> realize I was undoing your change until this moment.
> As far as I understand it, it is a change in the underlying JVM.

What should bt:thread-yield do? (sleep 0) or (sleep 0.01) or (sleep
least-positive-single-float) or something else?

Armedbear-devel mailing list
Armedbear-devel at common-lisp.net

More information about the armedbear-devel mailing list