diff options
| author | Vadim Chugunov <vadimcn@gmail.com> | 2014-03-19 00:42:02 -0700 |
|---|---|---|
| committer | Vadim Chugunov <vadimcn@gmail.com> | 2014-04-22 18:08:06 -0700 |
| commit | f686e5ebff1a8a30c496ffe38c9cd0fcde6307ce (patch) | |
| tree | cd86e55f1f14e6da75efcaeced791c91804fa386 /src/libstd/unstable | |
| parent | 6619134d49dc87d61274006be4c0d268658e1c2a (diff) | |
| download | rust-f686e5ebff1a8a30c496ffe38c9cd0fcde6307ce.tar.gz rust-f686e5ebff1a8a30c496ffe38c9cd0fcde6307ce.zip | |
Fixed Win64 build
Diffstat (limited to 'src/libstd/unstable')
| -rw-r--r-- | src/libstd/unstable/mutex.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/unstable/mutex.rs b/src/libstd/unstable/mutex.rs index c2db8ad9586..8faedcbd9ed 100644 --- a/src/libstd/unstable/mutex.rs +++ b/src/libstd/unstable/mutex.rs @@ -444,6 +444,8 @@ mod imp { static SPIN_COUNT: DWORD = 4000; #[cfg(target_arch = "x86")] static CRIT_SECTION_SIZE: uint = 24; + #[cfg(target_arch = "x86_64")] + static CRIT_SECTION_SIZE: uint = 40; pub struct Mutex { // pointers for the lock/cond handles, atomically updated |
