Signal an error in unlock-thread-mutex when mutex is not owned,
authorMatt Birkholz <matt@birchwood-abbey.net>
Tue, 5 Jun 2018 07:22:28 +0000 (00:22 -0700)
committerMatt Birkholz <matt@birchwood-abbey.net>
Tue, 5 Jun 2018 07:22:28 +0000 (00:22 -0700)
commit24a44fb26e4e4b2f899e66bba107f6e36dce65a9
tree5037d9ff1982113cb487378d58631d80aa58024d
parent8ccd9344ef625240d772c1b8e81482b6f9e26163
Signal an error in unlock-thread-mutex when mutex is not owned,

before applying remove-thread-mutex! to #f, which produces a less
helpful error message.
src/runtime/thread.scm