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
This commit is contained in:
parent
8cfce70738
commit
09b7f90475
7 changed files with 23 additions and 17 deletions
|
|
@ -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.}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue