[project @ 1999-12-01 14:34:38 by simonmar]
Support for blocking & unblocking asynchronous exceptions. - new primops: blockAsyncExceptions#, unblockAsyncExceptions# :: IO a -> IO a - raiseInThread will block if the target thread is currently blocking async exceptions. - async exceptions are currently implicitly blocked inside an exception handler. This decision might be reversed when we have more experience with this stuff. - Move exception-related stuff in the RTS into its own file, Exception.{h,hc}.
Showing
- ghc/compiler/prelude/PrimOp.lhs 69 additions, 33 deletionsghc/compiler/prelude/PrimOp.lhs
- ghc/includes/Closures.h 2 additions, 1 deletionghc/includes/Closures.h
- ghc/includes/PrimOps.h 4 additions, 8 deletionsghc/includes/PrimOps.h
- ghc/includes/TSO.h 30 additions, 12 deletionsghc/includes/TSO.h
- ghc/lib/std/PrelGHC.hi-boot 2 additions, 0 deletionsghc/lib/std/PrelGHC.hi-boot
- ghc/rts/Exception.h 11 additions, 0 deletionsghc/rts/Exception.h
- ghc/rts/Exception.hc 348 additions, 0 deletionsghc/rts/Exception.hc
- ghc/rts/PrimOps.hc 1 addition, 38 deletionsghc/rts/PrimOps.hc
- ghc/rts/Schedule.c 48 additions, 5 deletionsghc/rts/Schedule.c
- ghc/rts/Updates.hc 1 addition, 179 deletionsghc/rts/Updates.hc
Loading
Please register or sign in to comment