summaryrefslogtreecommitdiff
path: root/rts/HeapStackCheck.cmm
diff options
context:
space:
mode:
authorTamar Christina <tamar@zhox.com>2019-06-01 10:56:31 +0100
committerBen Gamari <ben@smart-cactus.org>2020-07-15 16:41:01 -0400
commit459e1c5f7c71e37ed8bb239c57bdec441d278fff (patch)
treee049c6429afef505fcd65af9eb0a785be78aa200 /rts/HeapStackCheck.cmm
parent00a23bfda4840546075ec2b2e18f61380b360dfc (diff)
downloadhaskell-459e1c5f7c71e37ed8bb239c57bdec441d278fff.tar.gz
winio: Use SlimReaderLocks and ConditonalVariables provided by the OS instead of emulated ones
Diffstat (limited to 'rts/HeapStackCheck.cmm')
-rw-r--r--rts/HeapStackCheck.cmm4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/HeapStackCheck.cmm b/rts/HeapStackCheck.cmm
index 1c1de089dc..b8df323c8b 100644
--- a/rts/HeapStackCheck.cmm
+++ b/rts/HeapStackCheck.cmm
@@ -17,8 +17,8 @@
#if defined(__PIC__)
import pthread_mutex_unlock;
#endif
-import EnterCriticalSection;
-import LeaveCriticalSection;
+import AcquireSRWLockExclusive;
+import ReleaseSRWLockExclusives;
/* Stack/Heap Check Failure
* ------------------------