aboutsummaryrefslogtreecommitdiff
path: root/absl/synchronization/internal/mutex_nonprod.cc
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2020-04-14 14:24:33 -0700
committerGravatar Mark Barolak <mbar@google.com>2020-04-15 13:29:54 -0400
commit71079e42cb4ae53db02f9bbe446ad51ed62fd17f (patch)
tree4602446a7d8bbf0e528433523fe7736b9f102909 /absl/synchronization/internal/mutex_nonprod.cc
parent2946ac0dea49c894215a998aebb19d2f1d942909 (diff)
Export of internal Abseil changes
-- 2182f6d50e2bcb77858aaab6001ebffdc13bee89 by Derek Mauro <dmauro@google.com>: Use base_internal::AtomicHook instead of std::atomic for StatusPayloadPrinter Imports #661 PiperOrigin-RevId: 306514102 -- 6f8047057f4530c17c06ab1737a1937c86402807 by Mark Barolak <mbar@google.com>: Fix ABSL_RANDOM_RANDEN_COPTS setting on FreeBSD Import of https://github.com/abseil/abseil-cpp/pull/664 PiperOrigin-RevId: 306485774 -- cb3b73b9607d0009bbcfd7766f4f1fa4fde9c8b9 by Abseil Team <absl-team@google.com>: Avoid a -Wimplicit-int-float-conversion warning. Without this explicit cast, this code produces a warning of "implicit conversion from 'const int64_t' (aka 'const long') to 'double' may lose precision" when this warning is turned on. PiperOrigin-RevId: 306358838 -- ef895ea6b28c96b64531c218705bac9c3fa169d5 by Greg Falcon <gfalcon@google.com>: Internal change PiperOrigin-RevId: 306040909 GitOrigin-RevId: 2182f6d50e2bcb77858aaab6001ebffdc13bee89 Change-Id: I69555c1722745a74c1603c62a621ca765d253fe5
Diffstat (limited to 'absl/synchronization/internal/mutex_nonprod.cc')
-rw-r--r--absl/synchronization/internal/mutex_nonprod.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/absl/synchronization/internal/mutex_nonprod.cc b/absl/synchronization/internal/mutex_nonprod.cc
index 4590b98..1732f83 100644
--- a/absl/synchronization/internal/mutex_nonprod.cc
+++ b/absl/synchronization/internal/mutex_nonprod.cc
@@ -32,6 +32,10 @@
namespace absl {
ABSL_NAMESPACE_BEGIN
+
+void SetMutexDeadlockDetectionMode(OnDeadlockCycle) {}
+void EnableMutexInvariantDebugging(bool) {}
+
namespace synchronization_internal {
namespace {