Fix deadlocks in GC on Windows.
authorStas Boukarev <stassats@gmail.com>
Fri, 22 Nov 2013 18:38:31 +0000 (22:38 +0400)
committerStas Boukarev <stassats@gmail.com>
Fri, 22 Nov 2013 19:09:27 +0000 (23:09 +0400)
When multiple threads cons and end up in the GC, they could deadlock
trying to send messages using safepoints and trying to acquire the
*already-in-gc* lock.

Also happens to stop gc.impure.lisp / BUG-936304 test from failing on linux-x86.

Thanks to Paul Khuong for the patch.


No differences found