summaryrefslogtreecommitdiffstats
path: root/js/src/threading/windows/MutexPlatformData.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-04-28 15:45:56 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-04-28 15:45:56 +0200
commit8d6b34f8630d6802e3570e8c6adcd2ad6fe4ddbe (patch)
treeea31afeae4f34af1f30a54898ed1ecc4b86d136c /js/src/threading/windows/MutexPlatformData.h
parent46a069ec79c9342dc1bb1c2f1b450dad412aeb3f (diff)
downloadUXP-8d6b34f8630d6802e3570e8c6adcd2ad6fe4ddbe.tar
UXP-8d6b34f8630d6802e3570e8c6adcd2ad6fe4ddbe.tar.gz
UXP-8d6b34f8630d6802e3570e8c6adcd2ad6fe4ddbe.tar.lz
UXP-8d6b34f8630d6802e3570e8c6adcd2ad6fe4ddbe.tar.xz
UXP-8d6b34f8630d6802e3570e8c6adcd2ad6fe4ddbe.zip
Use SRWlocks for js mutexes on Windows.
Diffstat (limited to 'js/src/threading/windows/MutexPlatformData.h')
-rw-r--r--js/src/threading/windows/MutexPlatformData.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/threading/windows/MutexPlatformData.h b/js/src/threading/windows/MutexPlatformData.h
index fbe7fc80d..1d741c5d0 100644
--- a/js/src/threading/windows/MutexPlatformData.h
+++ b/js/src/threading/windows/MutexPlatformData.h
@@ -13,7 +13,7 @@
struct js::detail::MutexImpl::PlatformData
{
- CRITICAL_SECTION criticalSection;
+ SRWLOCK lock;
};
#endif // platform_win_MutexPlatformData_h