Internals: Remove mutex, part of last commit
This commit is contained in:
parent
33493cf5b4
commit
5b9cd12530
|
|
@ -233,7 +233,7 @@ private:
|
||||||
}
|
}
|
||||||
*m_logfp << "# Verilator solver log\n";
|
*m_logfp << "# Verilator solver log\n";
|
||||||
}
|
}
|
||||||
void log(const std::string& prefix, const std::string& text) VL_MT_SAFE_EXCLUDES(m_mutex) {
|
void log(const std::string& prefix, const std::string& text) {
|
||||||
if (VL_LIKELY(!m_logfp.get()) || text.empty()) return;
|
if (VL_LIKELY(!m_logfp.get()) || text.empty()) return;
|
||||||
if (m_logLastTime != Verilated::threadContextp()->time()) {
|
if (m_logLastTime != Verilated::threadContextp()->time()) {
|
||||||
m_logLastTime = Verilated::threadContextp()->time();
|
m_logLastTime = Verilated::threadContextp()->time();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue