Rework multithreading handling to separate by code units that use/never use it. (#4228)

This commit is contained in:
Mariusz Glebocki
2023-09-24 22:12:23 -04:00
committed by GitHub
parent d64c023099
commit 28bd7e5b19
210 changed files with 1365 additions and 913 deletions
+9 -8
View File
@@ -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