withThread: block asynchronous exceptions before installing exception handler.
authorBas van Dijk <v.dijk.bas@gmail.com>
Mon, 29 Mar 2010 13:16:24 +0000 (13:16 +0000)
committerBas van Dijk <v.dijk.bas@gmail.com>
Mon, 29 Mar 2010 13:16:24 +0000 (13:16 +0000)
commit1c9b35dcdfbec4c68c65f770bb13e71617e919f9
tree926827e49d8a7d33dfb4ff6e7acadafaa0d0a5a4
parent5a888827c14dcbf279c986531cf8a6e8ee19eef1
withThread: block asynchronous exceptions before installing exception handler.
Note that I don't unblock the given io computation. Because AFAICS
withThread is only called with 'waitFd' which only performs an FFI
call which can't receive asynchronous exceptions anyway.
Control/Concurrent.hs