Revert "Fix lock ordering in `fat_mutex_lock' to match that of `do_thread_exit'."
authorLudovic Courtès <ludo@gnu.org>
Fri, 1 Jul 2011 20:43:01 +0000 (22:43 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 1 Jul 2011 20:46:32 +0000 (22:46 +0200)
commit4f39f31ea58f08dfe22df8192e8ff02943a9ed5d
treea689b3af8def59b82911509b601d0bad01e3883c
parent231c0e0e61fc4bdd69398e89084b7819f0420710
Revert "Fix lock ordering in `fat_mutex_lock' to match that of `do_thread_exit'."

This reverts commit ccb80964cd7cd112e300c34d32f67125a6d6da9a, which
introduced a race condition, with a small window during which a mutex
could be held by a thread without being part of its `mutexes' list,
thereby violating the invariant tested at line 667.
libguile/threads.c