On Wed, Aug 27, 2008 at 9:01 PM, Helmut Eller heller@common-lisp.net wrote:
If so, could you report it as a SBCL bug?
I think I know what the bug is -- not the details, but the general shape, if you will. The problem is with interrupted pthread_foo calls on lutex platforms (or possibly only Darwin.)
And if you are at it, also convince the SBCL gods that CONDITION-WAIT should take a timeout argument directly, because that would be more efficient and less problematic than WITH-TIMEOUT. Thanks.
That is in the plans, however, it requires re-implementing a lot of stuff since Darwin does not support timeout variants for various pthread functions -- so it will take a while to happen.
Cheers,
-- Nikodemus