diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-07-30 23:15:14 +0100 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-07-30 23:15:14 +0100 |
| commit | 6a10cfdc304dee49549af638836d8a1b64326958 (patch) | |
| tree | 12644bd99f3c3318ef9d29a6927ad68e88a21efc /core/sync | |
| parent | a2e7a62a2633b253acb4de8249319cc1968f659f (diff) | |
Fix typo
Diffstat (limited to 'core/sync')
| -rw-r--r-- | core/sync/extended.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sync/extended.odin b/core/sync/extended.odin index 199407428..f1d8348ee 100644 --- a/core/sync/extended.odin +++ b/core/sync/extended.odin @@ -50,7 +50,7 @@ wait_group_add :: proc "contextless" (wg: ^Wait_Group, delta: int) { switch counter := atomic_load(&wg.counter); counter { case counter < 0: panic_contextless("sync.Wait_Group negative counter") - case if wg.counter == 0: + case wg.counter == 0: cond_broadcast(&wg.cond) if atomic_load(&wg.counter) != 0 { panic_contextless("sync.Wait_Group misuse: sync.wait_group_add called concurrently with sync.wait_group_wait") |