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:
parent
4c11f25f8c
commit
83fe024fb0
|
@ -1416,6 +1416,8 @@ class ThreadLocal {
|
||||||
class Mutex {
|
class Mutex {
|
||||||
public:
|
public:
|
||||||
Mutex() {}
|
Mutex() {}
|
||||||
|
void Lock() {}
|
||||||
|
void Unlock() {}
|
||||||
void AssertHeld() const {}
|
void AssertHeld() const {}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user