summary refs log tree commit diff stats
path: root/lib/pure/concurrency
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-11-23 03:39:30 +0800
committerGitHub <noreply@github.com>2022-11-22 20:39:30 +0100
commit09b7f90475006c58139da5b959b6ea3f47c0e5c1 (patch)
treefabbcf40f47f5f672abd88d9f5d832bba98a3dc5 /lib/pure/concurrency
parent8cfce70738de2d488b621e6936e6398bfbe0a3ce (diff)
downloadNim-09b7f90475006c58139da5b959b6ea3f47c0e5c1.tar.gz
move `system/atomics` out of system; `std/atomics` should be preferred (#20875)
* move `system/atomics` out of system; `std/atomics` should be preferred

* add deprecation message

* fixes

* fixes

* fixes

* fixes more tests
Diffstat (limited to 'lib/pure/concurrency')
-rw-r--r--lib/pure/concurrency/threadpool.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/concurrency/threadpool.nim b/lib/pure/concurrency/threadpool.nim
index dcc917225..0eb20dc9a 100644
--- a/lib/pure/concurrency/threadpool.nim
+++ b/lib/pure/concurrency/threadpool.nim
@@ -23,7 +23,7 @@ when not compileOption("threads"):
 import cpuinfo, cpuload, locks, os
 
 when defined(nimPreviewSlimSystem):
-  import std/[assertions, typedthreads]
+  import std/[assertions, typedthreads, sysatomics]
 
 {.push stackTrace:off.}