Make the running_finalizers flag task-local
authorSimon Marlow <marlowsd@gmail.com>
Wed, 5 May 2010 11:49:47 +0000 (11:49 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 5 May 2010 11:49:47 +0000 (11:49 +0000)
commit497f8aa6c2c8770daf3d39f57ee5e04dcdcc3778
tree977b2376b794783041e795ee69f69765bf86ca86
parent7f148c3265edb930223f50c3702e33bc51f00bd1
Make the running_finalizers flag task-local
Fixes a bug reported by Lennart Augustsson, whereby we could get an
incorrect error from the RTS about re-entry from a finalizer,
rts/RtsAPI.c
rts/Task.c
rts/Task.h
rts/Weak.c