diff options
author | flywind <xzsflywind@gmail.com> | 2021-03-12 20:04:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-12 13:04:32 +0100 |
commit | 2e730f1452254ae7c86d89b167f0fe9e002f57b4 (patch) | |
tree | 65ac152aef5e3214b3577f8c5dc3b978275dcdb9 /lib | |
parent | d97bf4f1c80ef41789ecfc3430e04293d2b20043 (diff) | |
download | Nim-2e730f1452254ae7c86d89b167f0fe9e002f57b4.tar.gz |
rename channels to channels_builtin (#17330)
* improve test coverage for isolation * a bit better * rename channels to channels_builtin
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/collections/deques.nim | 2 | ||||
-rw-r--r-- | lib/pure/concurrency/threadpool.nim | 2 | ||||
-rw-r--r-- | lib/system.nim | 2 | ||||
-rw-r--r-- | lib/system/channels_builtin.nim (renamed from lib/system/channels.nim) | 0 |
4 files changed, 3 insertions, 3 deletions
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 |