mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Rework multithreading handling to separate by code units that use/never use it. (#4228)
This commit is contained in:
+9
-8
@@ -22,6 +22,7 @@
|
||||
|
||||
#include "V3Error.h"
|
||||
#include "V3FileLine.h"
|
||||
#include "V3ThreadSafety.h"
|
||||
|
||||
class V3ParseImp;
|
||||
class VInFilter;
|
||||
@@ -32,15 +33,15 @@ class VSpellCheck;
|
||||
class V3PreShell final {
|
||||
// Static class for calling preprocessor
|
||||
public:
|
||||
static void boot();
|
||||
static void shutdown();
|
||||
static void boot() VL_MT_DISABLED;
|
||||
static void shutdown() VL_MT_DISABLED;
|
||||
static bool preproc(FileLine* fl, const string& modname, VInFilter* filterp,
|
||||
V3ParseImp* parsep, const string& errmsg);
|
||||
static void preprocInclude(FileLine* fl, const string& modname);
|
||||
static void defineCmdLine(const string& name, const string& value);
|
||||
static void undef(const string& name);
|
||||
static void dumpDefines(std::ostream& os);
|
||||
static void candidateDefines(VSpellCheck* spellerp);
|
||||
V3ParseImp* parsep, const string& errmsg) VL_MT_DISABLED;
|
||||
static void preprocInclude(FileLine* fl, const string& modname) VL_MT_DISABLED;
|
||||
static void defineCmdLine(const string& name, const string& value) VL_MT_DISABLED;
|
||||
static void undef(const string& name) VL_MT_DISABLED;
|
||||
static void dumpDefines(std::ostream& os) VL_MT_DISABLED;
|
||||
static void candidateDefines(VSpellCheck* spellerp) VL_MT_DISABLED;
|
||||
};
|
||||
|
||||
#endif // Guard
|
||||
|
||||
Reference in New Issue
Block a user