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
Tobias Decking
GHC
Commits
ef59d3c0
Commit
ef59d3c0
authored
Apr 27, 2005
by
simonmar
Browse files
[project @ 2005-04-27 12:53:35 by simonmar]
initCapability: initialise the rInHaskell field (found by Valgrind)
parent
e1f6c746
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/rts/Capability.c
View file @
ef59d3c0
...
...
@@ -102,6 +102,7 @@ Capability *free_capabilities;
static
void
initCapability
(
Capability
*
cap
)
{
cap
->
r
.
rInHaskell
=
rtsFalse
;
cap
->
f
.
stgGCEnter1
=
(
F_
)
__stg_gc_enter_1
;
cap
->
f
.
stgGCFun
=
(
F_
)
__stg_gc_fun
;
}
...
...
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