summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2023-08-29 21:00:13 +0800
committerGitHub <noreply@github.com>2023-08-29 15:00:13 +0200
commita7a0105d8c538ce9d0ac26ba73409107d55d3c8c (patch)
treec3a403ed5b011b433837340402206ef660d69106 /lib/pure
parentb6cea7b599b81db675b95d2f84a8e3cda071cb0d (diff)
downloadNim-a7a0105d8c538ce9d0ac26ba73409107d55d3c8c.tar.gz
deprecate `std/threadpool`; use `malebolgia`, `weave`, `nim-taskpool` instead (#22576)
* deprecate `std/threadpool`; use `malebolgia` instead

* Apply suggestions from code review

* Apply suggestions from code review

* change the URL of inim
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/concurrency/threadpool.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pure/concurrency/threadpool.nim b/lib/pure/concurrency/threadpool.nim
index 136850b4f..e34162fa4 100644
--- a/lib/pure/concurrency/threadpool.nim
+++ b/lib/pure/concurrency/threadpool.nim
@@ -7,6 +7,8 @@
 #    distribution, for details about the copyright.
 #
 
+{.deprecated: "use the nimble packages `malebolgia`, `taskpools` or `weave` instead".}
+
 ## Implements Nim's `parallel & spawn statements <manual_experimental.html#parallel-amp-spawn>`_.
 ##
 ## Unstable API.