aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-09-10 17:29:11 +0100
committergingerBill <gingerBill@users.noreply.github.com>2025-09-10 17:29:11 +0100
commit1e0902677f905e752b42e2f48dcda53141b78eee (patch)
tree2d8975e6c8bf08585241163ebbb67da32c33a4d6 /src/entity.cpp
parent60684ff028fe4b0df1925d23d4ff05192f45faab (diff)
Multithread min dep set by removing the set itself
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index 6c0aa6ace..5ca3fa916 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -164,6 +164,7 @@ struct Entity {
u64 id;
std::atomic<u64> flags;
std::atomic<EntityState> state;
+ std::atomic<i32> min_dep_count;
Token token;
Scope * scope;
Type * type;