forked from github/verilator
Fix LLVM thread_safety function
This commit is contained in:
parent
c93d28050e
commit
45c09f3fae
@ -120,6 +120,7 @@ class VL_CAPABILITY("mutex") VerilatedMutex {
|
||||
public:
|
||||
VerilatedMutex() {}
|
||||
~VerilatedMutex() {}
|
||||
const VerilatedMutex& operator!() const { return *this; } // For -fthread_safety
|
||||
/// Acquire/lock mutex
|
||||
void lock() VL_ACQUIRE() {
|
||||
// Try to acquire the lock by spinning. If the wait is short,
|
||||
|
Loading…
Reference in New Issue
Block a user