summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--doc/lib.rst2
-rw-r--r--doc/manual.rst2
-rw-r--r--lib/pure/collections/deques.nim2
-rw-r--r--lib/pure/concurrency/threadpool.nim2
-rw-r--r--lib/system.nim2
-rw-r--r--lib/system/channels_builtin.nim (renamed from lib/system/channels.nim)0
-rw-r--r--tools/kochdocs.nim2
7 files changed, 6 insertions, 6 deletions
diff --git a/doc/lib.rst b/doc/lib.rst
index 47ede70ee..2a4c2c03c 100644
--- a/doc/lib.rst
+++ b/doc/lib.rst
@@ -39,7 +39,7 @@ Automatic imports
   Basic Nim thread support. **Note:** This is part of the system module. Do not
   import it explicitly. Enabled with ``--threads:on``.
 
-* `channels <channels.html>`_
+* `channels <channels_builtin.html>`_
   Nim message passing support for threads. **Note:** This is part of the
   system module. Do not import it explicitly. Enabled with ``--threads:on``.
 
diff --git a/doc/manual.rst b/doc/manual.rst
index 4686247d2..89b3bdb94 100644
--- a/doc/manual.rst
+++ b/doc/manual.rst
@@ -7721,7 +7721,7 @@ Threads
 
 To enable thread support the ``--threads:on`` command-line switch needs to
 be used. The ``system`` module then contains several threading primitives.
-See the `threads <threads.html>`_ and `channels <channels.html>`_ modules
+See the `threads <threads.html>`_ and `channels <channels_builtin.html>`_ modules
 for the low-level thread API. There are also high-level parallelism constructs
 available. See `spawn <manual_experimental.html#parallel-amp-spawn>`_ for
 further details.
diff --git a/lib/pure/collections/deques.nim b/lib/pure/collections/deques.nim
index a75de0dfb..c8bbb1cc6 100644
--- a/lib/pure/collections/deques.nim
+++ b/lib/pure/collections/deques.nim
@@ -46,7 +46,7 @@ runnableExamples:
 ## See also
 ## ========
 ## * `lists module <lists.html>`_ for singly and doubly linked lists and rings
-## * `channels module <channels.html>`_ for inter-thread communication
+## * `channels module <channels_builtin.html>`_ for inter-thread communication
 
 import std/private/since
 
diff --git a/lib/pure/concurrency/threadpool.nim b/lib/pure/concurrency/threadpool.nim
index 1eb03b159..905e668ce 100644
--- a/lib/pure/concurrency/threadpool.nim
+++ b/lib/pure/concurrency/threadpool.nim
@@ -14,7 +14,7 @@
 ## See also
 ## ========
 ## * `threads module <threads.html>`_ for basic thread support
-## * `channels module <channels.html>`_ for message passing support
+## * `channels module <channels_builtin.html>`_ for message passing support
 ## * `locks module <locks.html>`_ for locks and condition variables
 ## * `asyncdispatch module <asyncdispatch.html>`_ for asynchronous IO
 
diff --git a/lib/system.nim b/lib/system.nim
index 05b1ff9ff..f0c3da517 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -2385,7 +2385,7 @@ when notJSnotNims and hasAlloc:
     include "system/repr"
 
 when notJSnotNims and hasThreadSupport and hostOS != "standalone":
-  include "system/channels"
+  include "system/channels_builtin"
 
 
 when notJSnotNims and hostOS != "standalone":
diff --git a/lib/system/channels.nim b/lib/system/channels_builtin.nim
index c7a445766..c7a445766 100644
--- a/lib/system/channels.nim
+++ b/lib/system/channels_builtin.nim
diff --git a/tools/kochdocs.nim b/tools/kochdocs.nim
index 530ce8571..8f4dd87a9 100644
--- a/tools/kochdocs.nim
+++ b/tools/kochdocs.nim
@@ -126,7 +126,7 @@ gc.rst
 
   doc0 = """
 lib/system/threads.nim
-lib/system/channels.nim
+lib/system/channels_builtin.nim
 """.splitWhitespace() # ran by `nim doc0` instead of `nim doc`
 
   withoutIndex = """