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
Glasgow Haskell Compiler
GHC
Commits
e562d3a5
Commit
e562d3a5
authored
Apr 03, 2009
by
Simon Marlow
Browse files
remove now-unused atomic_modify_mutvar_mutex
parent
ff93deac
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/sm/Storage.c
View file @
e562d3a5
...
...
@@ -69,10 +69,6 @@ step *nurseries = NULL; /* array of nurseries, >1 only if THREADED_RTS *
* simultaneous access by two STG threads.
*/
Mutex
sm_mutex
;
/*
* This mutex is used by atomicModifyMutVar# only
*/
Mutex
atomic_modify_mutvar_mutex
;
#endif
...
...
@@ -148,7 +144,6 @@ initStorage( void )
#if defined(THREADED_RTS)
initMutex
(
&
sm_mutex
);
initMutex
(
&
atomic_modify_mutvar_mutex
);
#endif
ACQUIRE_SM_LOCK
;
...
...
@@ -297,7 +292,6 @@ freeStorage (void)
freeAllMBlocks
();
#if defined(THREADED_RTS)
closeMutex
(
&
sm_mutex
);
closeMutex
(
&
atomic_modify_mutvar_mutex
);
#endif
stgFree
(
nurseries
);
}
...
...
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