Move allocation of spark pools into initCapability
authorDuncan Coutts <duncan@well-typed.com>
Mon, 6 Jun 2011 09:32:33 +0000 (10:32 +0100)
committerDuncan Coutts <duncan@well-typed.com>
Mon, 18 Jul 2011 15:31:14 +0000 (16:31 +0100)
commit5d091088ce94be4c389fa669911d0e842bd08952
treeec18221bfe74de9bbfbdded76b923f90630aaae6
parentddb47a91da7132da2303c60a5aff4e38fb2dcf1a
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.
rts/Capability.c
rts/Schedule.c
rts/Sparks.c
rts/Sparks.h