Index: third_party/tcmalloc/chromium/src/base/spinlock_win32-inl.h |
diff --git a/third_party/tcmalloc/chromium/src/base/spinlock_win32-inl.h b/third_party/tcmalloc/chromium/src/base/spinlock_win32-inl.h |
index ee23541c3e7040f21b65ed2c9e973ab15f6993c5..9e77311c86a0c91687704284fe37107baeb2229b 100644 |
--- a/third_party/tcmalloc/chromium/src/base/spinlock_win32-inl.h |
+++ b/third_party/tcmalloc/chromium/src/base/spinlock_win32-inl.h |
@@ -42,6 +42,13 @@ void SpinLockDelay(volatile Atomic32 *w, int32 value, int loop) { |
} else if (loop == 1) { |
Sleep(0); |
} else { |
+ // TODO(dmikurube): Re-enable the commented-out code. |
+ // We commented out the following line and used the old code "Sleep(1)" |
+ // since base/atomicops-internals-windows.h doesn't support 64-bit |
+ // operations. |
+ // |
+ // Commended-out code: |
+ // Sleep(base::internal::SuggestedDelayNS(loop) / 1000000); |
Sleep(1); |
} |
} |