summaryrefslogtreecommitdiff
path: root/rts/Schedule.c
diff options
context:
space:
mode:
authorDuncan Coutts <duncan@well-typed.com>2011-06-06 10:32:33 +0100
committerDuncan Coutts <duncan@well-typed.com>2011-07-18 16:31:14 +0100
commit5d091088ce94be4c389fa669911d0e842bd08952 (patch)
treeec18221bfe74de9bbfbdded76b923f90630aaae6 /rts/Schedule.c
parentddb47a91da7132da2303c60a5aff4e38fb2dcf1a (diff)
downloadhaskell-5d091088ce94be4c389fa669911d0e842bd08952.tar.gz
Move allocation of spark pools into initCapability
Rather than a separate phase of initSparkPools. It means all the spark stuff for a capability is initialisaed at the same time, which is then becomes a good place to stick an initial spark trace event.
Diffstat (limited to 'rts/Schedule.c')
-rw-r--r--rts/Schedule.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/rts/Schedule.c b/rts/Schedule.c
index 5c94e20126..222220053a 100644
--- a/rts/Schedule.c
+++ b/rts/Schedule.c
@@ -2010,10 +2010,6 @@ initScheduler(void)
initTaskManager();
-#if defined(THREADED_RTS)
- initSparkPools();
-#endif
-
RELEASE_LOCK(&sched_mutex);
#if defined(THREADED_RTS)