summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-11-16 23:35:20 +0800
committerGitHub <noreply@github.com>2022-11-16 16:35:20 +0100
commite03a178bff6beebd7aec134f62ad4b9914892b4d (patch)
treef4cdbc731e2c8de6b44ab2fd651891b73fe62478 /lib/pure
parent06cd15663d6aed6cbf03a265f546043c47f250d4 (diff)
downloadNim-e03a178bff6beebd7aec134f62ad4b9914892b4d.tar.gz
rename `std/threads` to `std/typedthreads` (#20850)
* rename `std/threads` to `std/oldthreads`

* fixes tests

* rename to `typedthreads`

* changelog
Diffstat (limited to 'lib/pure')
-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 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.}