Detect when a C finalizer calls back to Haskell
authorSimon Marlow <marlowsd@gmail.com>
Wed, 14 Jan 2009 12:15:26 +0000 (12:15 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 14 Jan 2009 12:15:26 +0000 (12:15 +0000)
commit348e8f801ab659d84acfb49a5c7bbac63646e73a
tree02f0e8301a7b9c19b72d89166177e5aca0648e59
parent97583b57b68d646a5735c995cf7be217a8e83ffe
Detect when a C finalizer calls back to Haskell
This is illegal now, after the fix for #1364, but it turns out that
the existing check for dodgy callbacks doesn't catch finalizers
calling back, so we need another test.  This will be particularly
important for 6.10.2, because the behaviour has changed.
rts/Schedule.c
rts/Weak.c
rts/Weak.h