Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
55d7931d
Commit
55d7931d
authored
Dec 12, 2011
by
Simon Marlow
Browse files
waitForGcThreads: should be calling interruptCapability(), not interruptAllCapabilities()
parent
5c1fbb46
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/sm/GC.c
View file @
55d7931d
...
...
@@ -1124,7 +1124,7 @@ waitForGcThreads (Capability *cap USED_IF_THREADS)
for
(
i
=
0
;
i
<
n_threads
;
i
++
)
{
if
(
i
==
me
)
continue
;
write_barrier
();
interrupt
AllC
apabilities
(
);
interrupt
Capability
(
&
c
apabilities
[
i
]
);
if
(
gc_threads
[
i
]
->
wakeup
!=
GC_THREAD_STANDING_BY
)
{
retry
=
rtsTrue
;
}
...
...
Write
Preview
Markdown
is supported
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