diff options
| author | gingerBill <bill@gingerbill.org> | 2021-04-13 19:04:44 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-04-13 19:04:44 +0100 |
| commit | bee8beb2c92dfde1e751027922727923e32c0ef7 (patch) | |
| tree | f0defe14a621108f8bbe611af9b0cf8fb884f00d /core/sync/sync2 | |
| parent | 12296a0dcc440e0ac79059dd33aa44caebf7560a (diff) | |
Default to pthreads in sync2 for *nix
Diffstat (limited to 'core/sync/sync2')
| -rw-r--r-- | core/sync/sync2/primitives_atomic.odin | 2 | ||||
| -rw-r--r-- | core/sync/sync2/primitives_pthreads.odin | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/sync/sync2/primitives_atomic.odin b/core/sync/sync2/primitives_atomic.odin index bf47e6190..d65403076 100644 --- a/core/sync/sync2/primitives_atomic.odin +++ b/core/sync/sync2/primitives_atomic.odin @@ -2,7 +2,7 @@ //+private package sync2 -when !#config(ODIN_SYNC_USE_PTHREADS, false) { +when !#config(ODIN_SYNC_USE_PTHREADS, true) { import "core:time" diff --git a/core/sync/sync2/primitives_pthreads.odin b/core/sync/sync2/primitives_pthreads.odin index c0cab91e4..e85cff7fc 100644 --- a/core/sync/sync2/primitives_pthreads.odin +++ b/core/sync/sync2/primitives_pthreads.odin @@ -2,7 +2,7 @@ //+private package sync2 -when #config(ODIN_SYNC_USE_PTHREADS, false) { +when #config(ODIN_SYNC_USE_PTHREADS, true) { import "core:time" import "core:sys/unix" |