Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
0506cb7e
Commit
0506cb7e
authored
Mar 26, 2009
by
Simon Marlow
Browse files
check for ThreadRelocated in checkBlackHoles()
parent
5bb65738
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/Schedule.c
View file @
0506cb7e
...
...
@@ -2544,6 +2544,10 @@ checkBlackHoles (Capability *cap)
prev
=
&
blackhole_queue
;
t
=
blackhole_queue
;
while
(
t
!=
END_TSO_QUEUE
)
{
if
(
t
->
what_next
==
ThreadRelocated
)
{
t
=
t
->
_link
;
continue
;
}
ASSERT
(
t
->
why_blocked
==
BlockedOnBlackHole
);
type
=
get_itbl
(
UNTAG_CLOSURE
(
t
->
block_info
.
closure
))
->
type
;
if
(
type
!=
BLACKHOLE
&&
type
!=
CAF_BLACKHOLE
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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