ringabout
c0861142f8
fixes strictdefs warnings for stdlibs [part two] ( #24514 )
...
After some cleanups for stdlibs, then we should enable warningaserror
for all tests
2024-12-06 05:40:48 +01:00
ringabout
4d11d0619d
complete std prefixes for stdlib ( #22887 )
...
follow up https://github.com/nim-lang/Nim/pull/22851
follow up https://github.com/nim-lang/Nim/pull/22873
2023-10-30 17:03:04 +01:00
ringabout
a7a0105d8c
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
2023-08-29 15:00:13 +02:00
noah edward hall
4186529ff7
Update threadpool.nim with correct link to typedthreads module ( #21865 )
2023-05-19 21:23:44 +02:00
ringabout
09b7f90475
move system/atomics out of system; std/atomics should be preferred ( #20875 )
...
* move `system/atomics` out of system; `std/atomics` should be preferred
* add deprecation message
* fixes
* fixes
* fixes
* fixes more tests
2022-11-22 20:39:30 +01:00
ringabout
e03a178bff
rename std/threads to std/typedthreads ( #20850 )
...
* rename `std/threads` to `std/oldthreads`
* fixes tests
* rename to `typedthreads`
* changelog
2022-11-16 16:35:20 +01:00
ringabout
2848cdb18a
fixes #13781 ; fixes #14901 ; add acyclic pragmas to FlowVar ( #20804 )
...
* add acyclic pragmas to FlowVar
* add testcases
2022-11-10 16:54:39 +08:00
ringabout
0a1f204f0f
removes channels_builtin when enabling nimPreviewSlimSystem ( #20713 )
2022-10-31 16:56:05 +08:00
ringabout
e1ddd2d524
put std/threads under the umbrella of nimPreviewSlimSystem ( #20711 )
...
* put `std/threads` under the umbrella of `nimPreviewSlimSystem`
* add changelog
* fixes tests
* fixes tests again
* fixes tests
2022-10-31 06:36:50 +01:00
ringabout
3d2f0e2c7c
make more standard libraries work with nimPreviewSlimSystem ( #20343 )
...
* make more standard libraries work with `nimPreviewSlimSystem`
* typo
* part two
* Delete specutils.nim
* fixes more tests
* more fixes
* fixes tests
* fixes three more tests
* add formatfloat import
* fix
* last
2022-09-27 20:06:23 +02:00
flywind
4f64c9fae5
add comments to spawn and pinnedSpawn ( #19230 )
...
`spawn` uses `nimSpawn3` internally and `pinnedSpawn` uses `nimSpawn4` internally. I comment it in order to help contributors get the gist of its functionality.
2021-12-09 18:49:31 +01:00
flywind
5edddd68d0
improve cache line size ( #17885 )
...
* improve cache line size
- 64bit system tend to use cache line of 64 bytes
- add align
https://trishagee.com/2011/07/22/dissecting_the_disruptor_why_its_so_fast_part_two__magic_cache_line_padding
Though I'm not sure, what do you think? @timotheecour
* Update lib/pure/concurrency/threadpool.nim
2021-04-29 13:39:36 +02:00
Timothee Cour
4f9aaee1d9
remove redundant void return in stdlib ( #17464 )
2021-03-23 08:28:53 +01:00
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