fix data race
This commit is contained in:
@@ -49,7 +49,7 @@ extern std::list<std::string> errorList, warnList, normalList;
|
||||
extern std::mutex errorListMutex, warnListMutex, normalListMutex;
|
||||
|
||||
extern int IED_COUNT;
|
||||
extern int INITFLAG;
|
||||
extern std::atomic<int> INITFLAG;
|
||||
extern int g_front_seg_index;
|
||||
extern std::string subdir;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user