Block interrupts, _then_ lock.
authorTaylor R Campbell <campbell@mumble.net>
Wed, 29 May 2019 04:24:40 +0000 (04:24 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Wed, 29 May 2019 05:01:25 +0000 (05:01 +0000)
commit4d8be78a84614f58e409e1078f9b0ba1212784a7
tree3f5b5a2143eb834ba4e3369923d3444de6e64883
parentdeee9dd09b3f6f8c6c36b145886fa4acd81143be
Block interrupts, _then_ lock.

Otherwise an interrupt might try to acquire the lock while we already
hold it, leading to deadlock.

(cherry picked from commit 9a3417ac7a5f294fbbda397086d890029d45343a)
src/runtime/gcfinal.scm