From 9781f5467fadad9b15a0beb983b123049dc6d5a2 Mon Sep 17 00:00:00 2001 From: vladlosev Date: Mon, 24 Oct 2011 23:36:46 +0000 Subject: Adds empty methods to Mutex on platforms where Google Test is not thread-safe. This will support a reentrancy fix in Google Mock. git-svn-id: http://googletest.googlecode.com/svn/trunk@605 861a406c-534a-0410-8894-cb66d6ee9925 --- include/gtest/internal/gtest-port.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/gtest/internal/gtest-port.h b/include/gtest/internal/gtest-port.h index cb870c9..0493892 100644 --- a/include/gtest/internal/gtest-port.h +++ b/include/gtest/internal/gtest-port.h @@ -1416,6 +1416,8 @@ class ThreadLocal { class Mutex { public: Mutex() {} + void Lock() {} + void Unlock() {} void AssertHeld() const {} }; -- cgit v1.2.3