This commit is contained in:
Jeroen van Rijn
2022-05-13 15:25:20 +02:00
parent 286f782e5e
commit 42371f7aea
+3 -3
View File
@@ -111,9 +111,9 @@ pool_join :: proc(pool: ^Pool) {
for t in pool.threads { for t in pool.threads {
if .Started in t.flags { if .Started in t.flags {
started_count += 1 started_count += 1
} if .Joined not_in t.flags {
if .Joined not_in t.flags { join(t)
join(t) }
} }
} }
} }