[armedbear-devel] hang with threads:object-wait

James M. Lawrence llmjjmll at gmail.com
Sat Feb 1 13:54:14 UTC 2014


(defun test ()
  (let ((object (cons nil nil)))
    (threads:synchronized-on object
      (threads:object-wait object 0.0001))))

For times between 0 and 0.0001 this appears to hang indefinitely. No
problem with times above 0.001.

The context is the new timeout option for bordeaux-threads:condition-wait,

https://github.com/sionescu/bordeaux-threads/blob/master/src/impl-abcl.lisp#L101

1.3.0-dev-svn-14623
Java_HotSpot(TM)_Server_VM-Oracle_Corporation-1.7.0_04-b20
i386-Linux-3.2.0-24-generic-pae

Best,
lmj



More information about the armedbear-devel mailing list