-
- Downloads
compiler: fix trac issue #9817
Summary: When we call runHandlers, we must pass it a ForeignPtr. To ensure that this happens, we introduce a wrapper that receives a plain Ptr and converts it into a ForeignPtr. Then we adjust startSignalHandlers in rts/posix/Signals.c to call the wrapper instead of calling runHandlers directly. Reviewers: hvr, austin, rwbarton, simonmar Reviewed By: austin, simonmar Subscribers: simonmar, thomie, carter Differential Revision: https://phabricator.haskell.org/D515 GHC Trac Issues: #9817
Showing
- libraries/base/GHC/Conc/Signal.hs 10 additions, 1 deletionlibraries/base/GHC/Conc/Signal.hs
- rts/Prelude.h 2 additions, 2 deletionsrts/Prelude.h
- rts/RtsStartup.c 1 addition, 1 deletionrts/RtsStartup.c
- rts/package.conf.in 2 additions, 2 deletionsrts/package.conf.in
- rts/posix/Signals.c 1 addition, 1 deletionrts/posix/Signals.c
Loading
Please register or sign in to comment