diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-11-11 14:28:22 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-11-11 14:28:22 +0000 |
commit | 2d5e052d795c99c17b1ca6fa1ca8be7d082be09c (patch) | |
tree | 6eabbfd2ceeb75f8c481d1872e46fa3c6b88bf9d /includes/rts/IOManager.h | |
parent | cd0e2c0cc3005c3f5e74eeda57dc9cebbe1bac7e (diff) | |
download | haskell-2d5e052d795c99c17b1ca6fa1ca8be7d082be09c.tar.gz |
Second attempt to fix #1185 (forkProcess and -threaded)
Patch 1/2: second part of the patch is to libraries/base
This time without dynamic linker hacks, instead I've expanded the
existing rts/Globals.c to cache more CAFs, specifically those in
GHC.Conc. We were already using this trick for signal handlers, I
should have realised before.
It's still quite unsavoury, but we can do away with rts/Globals.c in
the future when we switch to a dynamically-linked GHCi.
Diffstat (limited to 'includes/rts/IOManager.h')
-rw-r--r-- | includes/rts/IOManager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/rts/IOManager.h b/includes/rts/IOManager.h index ef89f27a30..3aedda8b55 100644 --- a/includes/rts/IOManager.h +++ b/includes/rts/IOManager.h @@ -27,6 +27,7 @@ void sendIOManagerEvent (HsWord32 event); #else void setIOManagerPipe (int fd); +void ioManagerSync (void); #endif @@ -35,8 +36,8 @@ void setIOManagerPipe (int fd); // Posix implementation in posix/Signals.c // Win32 implementation in win32/ThrIOManager.c // -#if defined(THREADED_RTS) void ioManagerWakeup (void); +#if defined(THREADED_RTS) void ioManagerDie (void); void ioManagerStart (void); #endif |