This commit is contained in:
Jeroen van Rijn
2022-05-13 15:25:20 +02:00
parent 286f782e5e
commit 42371f7aea
+1 -1
View File
@@ -111,13 +111,13 @@ 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)
} }
} }
} }
} }
}
// Add a task to the thread pool. // Add a task to the thread pool.
// //