diff --git a/.gitignore b/.gitignore index 32e1dc0..dc859ac 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ nimcache/ nimblecache/ htmldocs/ + +/tests/megatest* +/outputGotten.txt diff --git a/threading/channels.nim b/threading/channels.nim index 6e21cf1..76b82a0 100644 --- a/threading/channels.nim +++ b/threading/channels.nim @@ -82,6 +82,10 @@ runnableExamples("--threads:on --gc:orc"): when not defined(gcArc) and not defined(gcOrc) and not defined(nimdoc): {.error: "This channel implementation requires --gc:arc or --gc:orc".} +when defined(nimPreviewSlimSystem): + import std/typedthreads + import std/assertions + import std/[locks, atomics, isolation] import system/ansi_c