diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2022-05-13 15:25:20 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2022-05-13 15:25:20 +0200 |
| commit | 42371f7aea986f7719972e7d3d7c4f93f3f4c490 (patch) | |
| tree | d9bea10825ce16ba32d0aea8f49f7d83bc1212a1 /core/thread | |
| parent | 286f782e5ec8da4e573cfd1786f480200fe85587 (diff) | |
Fix fix.
Diffstat (limited to 'core/thread')
| -rw-r--r-- | core/thread/thread_pool.odin | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/thread/thread_pool.odin b/core/thread/thread_pool.odin index 840cecfec..4fd5c90d1 100644 --- a/core/thread/thread_pool.odin +++ b/core/thread/thread_pool.odin @@ -111,9 +111,9 @@ pool_join :: proc(pool: ^Pool) { for t in pool.threads { if .Started in t.flags { started_count += 1 - } - if .Joined not_in t.flags { - join(t) + if .Joined not_in t.flags { + join(t) + } } } } |