Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
e562d3a5
Commit
e562d3a5
authored
Apr 03, 2009
by
Simon Marlow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove now-unused atomic_modify_mutvar_mutex
parent
ff93deac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
rts/sm/Storage.c
rts/sm/Storage.c
+0
-6
No files found.
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
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