summaryrefslogtreecommitdiff
path: root/rts/posix
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2006-10-24 09:13:57 +0000
committerSimon Marlow <simonmar@microsoft.com>2006-10-24 09:13:57 +0000
commitab0e778ccfde61aed4c22679b24d175fc6cc9bf3 (patch)
treea0f6148a77644c5a7baa68b521bf3b1116dce50b /rts/posix
parent2246c514eade324d70058ba3135dc0c51ee9353b (diff)
downloadhaskell-ab0e778ccfde61aed4c22679b24d175fc6cc9bf3.tar.gz
Split GC.c, and move storage manager into sm/ directory
In preparation for parallel GC, split up the monolithic GC.c file into smaller parts. Also in this patch (and difficult to separate, unfortunatley): - Don't include Stable.h in Rts.h, instead just include it where necessary. - consistently use STATIC_INLINE in source files, and INLINE_HEADER in header files. STATIC_INLINE is now turned off when DEBUG is on, to make debugging easier. - The GC no longer takes the get_roots function as an argument. We weren't making use of this generalisation.
Diffstat (limited to 'rts/posix')
-rw-r--r--rts/posix/Itimer.c1
-rw-r--r--rts/posix/Select.c1
-rw-r--r--rts/posix/Signals.c2
3 files changed, 4 insertions, 0 deletions
diff --git a/rts/posix/Itimer.c b/rts/posix/Itimer.c
index 0f0b1e977e..715cf5af3c 100644
--- a/rts/posix/Itimer.c
+++ b/rts/posix/Itimer.c
@@ -22,6 +22,7 @@
#include "Ticker.h"
#include "posix/Itimer.h"
#include "Proftimer.h"
+#include "Storage.h"
#include "Schedule.h"
#include "posix/Select.h"
diff --git a/rts/posix/Select.c b/rts/posix/Select.c
index ccf39458d2..bb65310c9e 100644
--- a/rts/posix/Select.c
+++ b/rts/posix/Select.c
@@ -10,6 +10,7 @@
/* #include "PosixSource.h" */
#include "Rts.h"
+#include "Storage.h"
#include "Schedule.h"
#include "RtsUtils.h"
#include "RtsFlags.h"
diff --git a/rts/posix/Signals.c b/rts/posix/Signals.c
index a5044cd6de..ded85f5d39 100644
--- a/rts/posix/Signals.c
+++ b/rts/posix/Signals.c
@@ -11,12 +11,14 @@
*/
#include "Rts.h"
#include "SchedAPI.h"
+#include "Storage.h"
#include "Schedule.h"
#include "RtsSignals.h"
#include "posix/Signals.h"
#include "RtsUtils.h"
#include "RtsFlags.h"
#include "Prelude.h"
+#include "Stable.h"
#ifdef alpha_HOST_ARCH
# if defined(linux_HOST_OS)