mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Split Mutex class used in verilated code and verilator (#4048)
This commit is contained in:
+2
-3
@@ -20,10 +20,9 @@
|
||||
#include "config_build.h"
|
||||
#include "verilatedos.h"
|
||||
|
||||
#include "verilated_threads.h"
|
||||
|
||||
#include "V3Error.h"
|
||||
#include "V3LangCode.h"
|
||||
#include "V3Mutex.h"
|
||||
|
||||
#include <atomic>
|
||||
#include <bitset>
|
||||
@@ -52,7 +51,7 @@ class FileLineSingleton final {
|
||||
using MsgEnBitSet = std::bitset<V3ErrorCode::_ENUM_MAX>;
|
||||
|
||||
// MEMBERS
|
||||
VerilatedMutex m_mutex; // protects members
|
||||
V3Mutex m_mutex; // protects members
|
||||
std::map<const std::string, fileNameIdx_t> m_namemap; // filenameno for each filename
|
||||
std::deque<string> m_names; // filename text for each filenameno
|
||||
std::deque<V3LangCode> m_languages; // language for each filenameno
|
||||
|
||||
Reference in New Issue
Block a user