Commit Graph

70 Commits

Author SHA1 Message Date
flywind
2e730f1452 rename channels to channels_builtin (#17330)
* improve test coverage for isolation

* a bit better

* rename channels to channels_builtin
2021-03-12 13:04:32 +01:00
konsumlamm
c9801d7abc Improve documentation for threadpool (#16821) 2021-01-27 19:05:31 +00:00
ee7
297c8e403d styleCheck: Fix some inconsistent identifiers (#16177) 2020-12-21 09:41:56 -08:00
Elliot Waite
f3d57761ab Fix broken links in docs (#16336)
* Fix broken links in docs

* Fix rand HSlice links
2020-12-14 20:13:12 +01:00
Araq
ffe7b3a9bf threadpool.nim: minor code style changes 2020-07-18 21:40:57 +02:00
cooldome
d3b0132061 Step2: fixes #13781, fixes #13805 (#13897)
* Fix sym owner in wrapper proc
* threadpool changes
* revert lowerings
* add newFastMoveStmt
* try fixing test by switching to cpp

Co-authored-by: cooldome <ariabushenko@bk.ru>
2020-04-16 23:27:08 +02:00
Araq
8215c57666 threadpool.nim: allow control over MaxThreadPoolSize and MaxDistinguishedThread; refs #10584 2020-03-20 15:07:11 +01:00
Jjp137
93461aee34 Fix many broken links
Note that contrary to what docgen.rst currently says, the ids have
to match exactly or else most web browsers will not jump to the
intended symbol.
2019-10-22 17:59:12 -07:00
Jjp137
e065e51245 threadpool: fix link in docs [ci skip] (#12258) [backport]
[backport]
2019-09-25 07:12:08 +02:00
Araq
5abe880469 last stdlib cleanups 2019-09-21 06:43:37 +02:00
Araq
bebda3851f fixes #1188 2019-08-16 13:29:58 +02:00
WhiteDuke
2a7cf71db3 Fix typo (#11573) 2019-06-25 00:24:51 +02:00
Ștefan Talpalaru
13b3e4af8a fixes #11275 (#11276) 2019-05-20 09:29:13 +02:00
Ștefan Talpalaru
dfc7685420 fixes #11250 (#11251) 2019-05-15 08:42:30 +02:00
Miran
ca7980f301 improved documentation for several modules (#10752)
More detailed documentation for:
* md5
* hashes

Mostly cosmetic improvements for:
* threadpool
* typetraits
* channels
* threads
2019-03-01 12:57:55 +01:00
Andreas Rumpf
65f3e390e8 fixes #10584 [backport] 2019-02-06 20:58:28 +01:00
Tomohiro
eb4272ba1c manual: Fix links to Parallel & Spawn (#9342) 2018-10-13 08:55:34 +02:00
Araq
83c89197f3 renames threadpool.await to blockUntil; refs #7853 2018-08-14 01:28:04 +02:00
Araq
265003df1a deprecated regionized pointers 2018-08-10 01:20:14 +02:00
Ganesh Viswanathan
6ca8478548 Minor fixes to enable tcc 2018-05-14 11:40:59 +02:00
Andreas Rumpf
0dc4d6dcc2 fixes #7638; awaitAny blocks if the flow vars all have been complete already 2018-04-19 08:54:23 +02:00
Andreas Rumpf
17cb2f2d4c threadpool: minor documentation improvement 2018-04-19 08:54:23 +02:00
Andreas Rumpf
aa526da706 make tests green again 2017-10-29 23:09:46 +01:00
Andreas Rumpf
6a3288a60e more replacements for the deprecated '<' 2017-10-29 08:55:30 +01:00
Andreas Rumpf
8a2f481f99 make threadpool care about minPoolSize 2017-10-12 12:45:18 +02:00
Arne Döring
000b8afd26 Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
Yuriy Glukhov
30e2af969c Revert "GC_fullCollect on sync threadpool (#6107)" (#6119)
This reverts commit bdb653c415.
2017-07-17 13:45:54 +02:00
Yuriy Glukhov
bdb653c415 GC_fullCollect on sync threadpool (#6107) 2017-07-17 08:09:21 +02:00
Yuriy Glukhov
8bdcade1a0 Fixes #6090 (#6092) 2017-07-14 08:15:37 +02:00
Tomas Vojtisek
27a291c09e Update threadpool.nim (#5624) 2017-03-29 08:36:10 +02:00
Dmitry Polienko
885543e43e Add a lock to prevent race condition 2016-08-24 22:01:37 +07:00
Dmitry Polienko
2edd3786ce Add a workaround for threadpool deadlocks on recursion 2016-08-11 03:11:57 -07:00
Yuriy Glukhov
9cdb4ee1cb Fixed semaphore on iOS. 2016-03-05 14:20:09 +02:00
def
c50b5b62ef Fix a few deprecation warnings 2016-01-25 19:10:37 +01:00
Dominik Picheta
dda41afe9e Implement isReady procedure in threadpool module. 2015-10-12 23:05:41 +01:00
Araq
d7996a9ede attempt to support recursions for spawn 2015-09-06 02:40:26 +02:00
Araq
646af76c87 implemented nimPinToCpu threadpool feature 2015-08-24 18:01:41 +02:00
Araq
28de800d61 Merge branch 'more_concurrency' into devel
Conflicts:
	doc/tut1.txt
	lib/core/locks.nim
	lib/pure/collections/tables.nim
	lib/pure/selectors.nim
2015-06-30 12:50:24 +02:00
Spencer Stirling
891d953a4c disabled threadpool assertion only for vcc 2015-06-10 07:23:07 -06:00
Spencer Stirling
d152ccc1e2 fixed threadpool and atomics to work with Visual Studio 32 and 64 bit 2015-06-09 11:59:26 -06:00
pdw
192ba3bbc0 lib/pure/a-c - Dropped 'T' from types 2015-06-04 13:17:11 +02:00
Araq
79c92603f5 FlowVar's ^ for refs is safe and convenient to use 2015-06-02 16:32:53 +02:00
Araq
3312d49a48 proper waiting for the pinned thread 2015-06-02 16:21:55 +02:00
Araq
94f54700c4 first implementation of pinnedSpawn 2015-05-28 12:42:04 +02:00
Michael Werner
c384f05e49 fixed typo in threadpool.nim 2015-05-08 03:31:58 +05:00
Araq
7023fdddff todo update 2015-03-27 01:30:07 +01:00
Guillaume Gelin
3119fe087d Happy new year! 2015-01-06 15:26:33 +01:00
Araq
795a7762cc minor improvement to the barrier implementation 2014-12-09 01:03:56 +01:00
Araq
81353b2dbc renamed CondVar to Semaphore 2014-11-10 07:57:19 +01:00
Araq
943d4ee714 fixed the deadlock that happens when stress testing ToFreeQueue 2014-11-08 11:18:25 +01:00