rename std/threads to std/typedthreads (#20850)
* rename `std/threads` to `std/oldthreads` * fixes tests * rename to `typedthreads` * changelog
This commit is contained in:
parent
06cd15663d
commit
e03a178bff
11 changed files with 12 additions and 12 deletions
|
|
@ -2071,9 +2071,9 @@ when not defined(js):
|
|||
when hostOS != "standalone":
|
||||
include system/threadimpl
|
||||
when not defined(nimPreviewSlimSystem):
|
||||
{.deprecated: "threads is about to move out of system; use `-d:nimPreviewSlimSystem` and import `std/threads`".}
|
||||
import std/threads
|
||||
export threads
|
||||
{.deprecated: "threads is about to move out of system; use `-d:nimPreviewSlimSystem` and import `std/typedthreads`".}
|
||||
import std/typedthreads
|
||||
export typedthreads
|
||||
|
||||
elif not defined(nogc) and not defined(nimscript):
|
||||
when not defined(useNimRtl) and not defined(createNimRtl): initStackBottom()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue