Adds empty methods to Mutex on platforms where Google Test is not thread-safe. This will support a reentrancy fix in Google Mock.

This commit is contained in:
vladlosev 2011-10-24 23:36:46 +00:00
parent 4c11f25f8c
commit 83fe024fb0

View File

@ -1416,6 +1416,8 @@ class ThreadLocal {
class Mutex { class Mutex {
public: public:
Mutex() {} Mutex() {}
void Lock() {}
void Unlock() {}
void AssertHeld() const {} void AssertHeld() const {}
}; };