mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-15 15:44:04 +00:00
Make flags atomic for Entity and Type
This commit is contained in:
@@ -115,8 +115,8 @@ enum ProcedureOptimizationMode : u32 {
|
||||
struct Entity {
|
||||
EntityKind kind;
|
||||
u64 id;
|
||||
u64 flags;
|
||||
EntityState state;
|
||||
std::atomic<u64> flags;
|
||||
std::atomic<EntityState> state;
|
||||
Token token;
|
||||
Scope * scope;
|
||||
Type * type;
|
||||
|
||||
Reference in New Issue
Block a user