mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-15 08:42:05 -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
+3
-3
@@ -306,9 +306,9 @@ struct Type {
|
||||
};
|
||||
|
||||
// NOTE(bill): These need to be at the end to not affect the unionized data
|
||||
i64 cached_size;
|
||||
i64 cached_align;
|
||||
u32 flags; // TypeFlag
|
||||
std::atomic<i64> cached_size;
|
||||
std::atomic<i64> cached_align;
|
||||
std::atomic<u32> flags; // TypeFlag
|
||||
bool failure;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user