projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIX #1424: x86_64 NCG generated wrong code for foreign call with >8 double args
[ghc-hetmet.git]
/
rts
/
Stable.c
diff --git
a/rts/Stable.c
b/rts/Stable.c
index
2c4157b
..
e5e8dfb
100644
(file)
--- a/
rts/Stable.c
+++ b/
rts/Stable.c
@@
-19,6
+19,7
@@
#include "RtsFlags.h"
#include "OSThreads.h"
#include "Trace.h"
#include "RtsFlags.h"
#include "OSThreads.h"
#include "Trace.h"
+#include "Stable.h"
/* Comment from ADR's implementation in old RTS:
/* Comment from ADR's implementation in old RTS:
@@
-169,6
+170,9
@@
exitStablePtrTable(void)
stgFree(stable_ptr_table);
stable_ptr_table = NULL;
SPT_size = 0;
stgFree(stable_ptr_table);
stable_ptr_table = NULL;
SPT_size = 0;
+#ifdef THREADED_RTS
+ closeMutex(&stable_mutex);
+#endif
}
/*
}
/*