Skip to content
GitLab
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
2a01dd4c
Commit
2a01dd4c
authored
Sep 05, 2007
by
Simon Marlow
Browse files
{Enter,Leave}CriticalSection imports should be outside #ifdef __PIC__
parent
272f0ba8
Changes
3
Hide whitespace changes
Inline
Side-by-side
rts/HeapStackCheck.cmm
View file @
2a01dd4c
...
...
@@ -13,10 +13,10 @@
#include "Cmm.h"
#ifdef __PIC__
import EnterCriticalSection;
import LeaveCriticalSection;
import pthread_mutex_unlock;
#endif
import EnterCriticalSection;
import LeaveCriticalSection;
/* Stack/Heap Check Failure
* ------------------------
...
...
rts/PrimOps.cmm
View file @
2a01dd4c
...
...
@@ -47,9 +47,9 @@ import __gmpz_com;
import
base_GHCziIOBase_NestedAtomically_closure
;
import
pthread_mutex_lock
;
import
pthread_mutex_unlock
;
#endif
import
EnterCriticalSection
;
import
LeaveCriticalSection
;
#endif
/*-----------------------------------------------------------------------------
Array Primitives
...
...
rts/StgMiscClosures.cmm
View file @
2a01dd4c
...
...
@@ -14,11 +14,11 @@
#if
def
__PIC__
import
pthread_mutex_lock
;
import
EnterCriticalSection
;
import
LeaveCriticalSection
;
import
base_GHCziBase_Czh_static_info
;
import
base_GHCziBase_Izh_static_info
;
#endif
import
EnterCriticalSection
;
import
LeaveCriticalSection
;
/* ----------------------------------------------------------------------------
Support for the bytecode interpreter.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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