Detect C finalizer callbacks in rts_lock() instead of schedule()
authorSimon Marlow <marlowsd@gmail.com>
Wed, 19 Aug 2009 12:32:08 +0000 (12:32 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 19 Aug 2009 12:32:08 +0000 (12:32 +0000)
commit3a886477def20cfaaacb87a784917b5c6a3238b0
treeb9ca7a107159719a5b4fd5ec20486798d934a26f
parent2aea029422dc06f50aab82b35e5b3b0a42641ded
Detect C finalizer callbacks in rts_lock() instead of schedule()
Otherwise, finalizer callbacks cause a deadlock in the threaded RTS
(including GHCi)
rts/RtsAPI.c
rts/Schedule.c