Add support for non-recursive error-check locks for compatibility with
the pthread implementation. Add new structures recursive-lock and error-check-lock. Make-lock now accepts a :kind key which defaults to :recursive for backwards compatibility. Rework with-lock-held to handle the error-check locks, and add a new key :wait - when :wait is Nil and the lock is not free the body is not executed.
Loading
Please register or sign in to comment