summaryrefslogtreecommitdiff
path: root/compiler/codeGen
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2013-07-02 12:10:53 +0100
committerSimon Marlow <marlowsd@gmail.com>2013-07-02 12:11:05 +0100
commit1ae72ac45e51e63cbf6f3d627d77acc6a36aa0f9 (patch)
tree6d10eca3cfd8eb31fbbca8620605051015639e01 /compiler/codeGen
parente56b9d5979b0ac5ca8e53170985734b2c340be4a (diff)
downloadhaskell-1ae72ac45e51e63cbf6f3d627d77acc6a36aa0f9.tar.gz
Fix #7970, #2161, unfix #551
Establish the reachability of threads before weak pointers. Hence a deadlocked thread can keep a weak pointer alive and prevent it from being finalized early. However, an reference from the finalizer of a weak pointer will no longer prevent a thread from being considered deadlocked (#551). To keep the thread alive in that situation you need to use a StablePtr. See comments on #7970 and in the code for more details.
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions