BUG/MAJOR: threads/checks: wrong use of SPIN_LOCK instead of SPIN_UNLOCK

Must unlock on exit, copy-paste error.
1 file changed