fix data race
This commit is contained in:
@@ -34,7 +34,7 @@ typedef struct {
|
||||
} thread_info_t;
|
||||
#endif
|
||||
|
||||
extern int INITFLAG;//̨<>˵ȳ<CBB5>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD>ɱ<EFBFBD>־
|
||||
extern std::atomic<int> INITFLAG;//̨<>˵ȳ<CBB5>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD>ɱ<EFBFBD>־
|
||||
//extern void cleanup_args(ThreadArgs* args);
|
||||
|
||||
void init_daemon(void)
|
||||
|
||||
Reference in New Issue
Block a user