summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/concurrency/threadpool.nim2
-rw-r--r--lib/std/typedthreads.nim (renamed from lib/std/threads.nim)0
-rw-r--r--lib/system.nim6
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/pure/concurrency/threadpool.nim b/lib/pure/concurrency/threadpool.nim
index 9d773dac5..dcc917225 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, threads]
+  import std/[assertions, typedthreads]
 
 {.push stackTrace:off.}
 
diff --git a/lib/std/threads.nim b/lib/std/typedthreads.nim
index 358ff0d9e..358ff0d9e 100644
--- a/lib/std/threads.nim
+++ b/lib/std/typedthreads.nim
diff --git a/lib/system.nim b/lib/system.nim
index 6e16b1189..2373ea12e 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -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()