Move the freeing of Capabilities later in the shutdown sequence
authorSimon Marlow <marlowsd@gmail.com>
Fri, 24 Oct 2008 10:43:01 +0000 (10:43 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Fri, 24 Oct 2008 10:43:01 +0000 (10:43 +0000)
commitb7ea7671c442a0223f34593dc8a1182b15dde0bf
treef12c8464d0c557baf133a74a36c4b2308b965dac
parent4af25e1a72f2d0f1f523fe5b13c71f1b3dc7a5a5
Move the freeing of Capabilities later in the shutdown sequence
Fixes a bug whereby the Capability has been freed but other
Capabilities are still trying to steal sparks from its pool.
rts/Capability.c
rts/Capability.h
rts/Schedule.c