mirror of
https://git.mirrors.martin98.com/https://github.com/google/googletest.git
synced 2025-06-21 15:42:04 +08:00
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 {
|
||||
public:
|
||||
Mutex() {}
|
||||
void Lock() {}
|
||||
void Unlock() {}
|
||||
void AssertHeld() const {}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user