Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
5b726bda
Commit
5b726bda
authored
May 28, 2008
by
Simon Marlow
Browse files
FIX
#2164
: check for ThreadRelocated in isAlive()
parent
78956377
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/sm/GCAux.c
View file @
5b726bda
...
...
@@ -62,6 +62,11 @@ isAlive(StgClosure *p)
// large objects use the evacuated flag
if
(
bd
->
flags
&
BF_LARGE
)
{
if
(
get_itbl
(
q
)
->
type
==
TSO
&&
((
StgTSO
*
)
p
)
->
what_next
==
ThreadRelocated
)
{
p
=
(
StgClosure
*
)((
StgTSO
*
)
p
)
->
_link
;
continue
;
}
return
NULL
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment