diff options
author | Tamar Christina <tamar@zhox.com> | 2019-06-01 10:56:31 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2020-07-15 16:41:01 -0400 |
commit | 459e1c5f7c71e37ed8bb239c57bdec441d278fff (patch) | |
tree | e049c6429afef505fcd65af9eb0a785be78aa200 /rts/StgMiscClosures.cmm | |
parent | 00a23bfda4840546075ec2b2e18f61380b360dfc (diff) | |
download | haskell-459e1c5f7c71e37ed8bb239c57bdec441d278fff.tar.gz |
winio: Use SlimReaderLocks and ConditonalVariables provided by the OS instead of emulated ones
Diffstat (limited to 'rts/StgMiscClosures.cmm')
-rw-r--r-- | rts/StgMiscClosures.cmm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/StgMiscClosures.cmm b/rts/StgMiscClosures.cmm index 4293dfb787..7a8f20dded 100644 --- a/rts/StgMiscClosures.cmm +++ b/rts/StgMiscClosures.cmm @@ -15,8 +15,8 @@ import pthread_mutex_lock; import ghczmprim_GHCziTypes_Czh_info; import ghczmprim_GHCziTypes_Izh_info; -import EnterCriticalSection; -import LeaveCriticalSection; +import AcquireSRWLockExclusive; +import ReleaseSRWLockExclusive; /* ---------------------------------------------------------------------------- Stack underflow |