Skip to content

Commit accdd7c

Browse files
committed
Fix atomics for tuples
1 parent a675784 commit accdd7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ struct TypeProc {
255255
Slice<Entity *> variables; /* Entity_Variable */ \
256256
i64 * offsets; \
257257
BlockingMutex mutex; /* for settings offsets */ \
258-
bool are_offsets_being_processed; \
258+
std::atomic<bool> are_offsets_being_processed; \
259259
bool are_offsets_set; \
260260
bool is_packed; \
261261
}) \

0 commit comments

Comments
 (0)