mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-12 19:19:53 -04:00
Make flags atomic for Entity and Type
This commit is contained in:
1 parent
df159dbae7
commit
0051cd12e2
3 files changed
+6
-6
No files matched your search
+2
-2
@@ -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