diff --git a/codegen/type_kinds.hpp b/codegen/type_kinds.hpp index 83bd4b674..adcc71202 100644 --- a/codegen/type_kinds.hpp +++ b/codegen/type_kinds.hpp @@ -73,12 +73,12 @@ struct Enum { }; struct Tuple { - Slice variables; /* Entity_Variable */ - i64 *offsets; - BlockingMutex mutex; /* for settings offsets */ - bool are_offsets_being_processed; - bool are_offsets_set; - bool is_packed; + Slice variables; /* Entity_Variable */ + i64 *offsets; + BlockingMutex mutex; /* for settings offsets */ + std::atomic are_offsets_being_processed; + bool are_offsets_set; + bool is_packed; }; typedef TypeProc Proc;