Ticket #2858: patch
| File patch, 0.7 KB (added by dsh, 4 years ago) |
|---|
-
libraries/base/GHC/Conc.lhs
old new 1108 1108 _ -> withMVar signalHandlerLock $ \_ -> do 1109 1109 handler_tbl <- peek handlers 1110 1110 sp <- peekElemOff handler_tbl (fromIntegral s) 1111 case (unsafeCoerce# sp > 0) of 1112 True -> deRefStablePtr sp >>= forkIO >> return () 1113 False -> return () 1111 io <- deRefStablePtr sp 1112 forkIO io 1114 1113 return False 1115 1114 1116 1115 if exit then return () else do
