summary refs log tree commit diff stats
path: root/lib/pure/concurrency
Commit message (Collapse)AuthorAgeFilesLines
* fix #17078 csources generation (#17079)Timothee Cour2021-02-181-1/+1
| | | | | * fix #17078 csources generation * fixup
* add -d:nimStrictMode in CI to keep code from regressing; fixes ↵Timothee Cour2021-02-171-1/+1
| | | | ConvFromXtoItselfNotNeeded, UnusedImport notes (#16764)
* use typeof instead type (#16962)flywind2021-02-081-1/+1
|
* Improve documentation for threadpool (#16821)konsumlamm2021-01-271-40/+41
|
* Minor docs/format changes (cpuinfo, volatile) (#16602)konsumlamm2021-01-061-10/+9
|
* styleCheck: Fix some inconsistent identifiers (#16177)ee72020-12-211-12/+12
|
* Fix broken links in docs (#16336)Elliot Waite2020-12-141-1/+1
| | | | | * Fix broken links in docs * Fix rand HSlice links
* add simple runnableExamples for atomics (#16116)flywind2020-11-241-0/+40
|
* fix #12726 Cannot take the compile-time sizeof Atomic types (#15928)Bung2020-11-121-7/+8
| | | | | * fix #12726 Cannot take the compile-time sizeof Atomic types * fix for arch 32
* Add test coverage for atomics (#15193)Elijah Shaw-Rutschman2020-08-181-7/+7
| | | | | | | | | | | | | | | * Add test coverage for atomics Signed-off-by: Elijah Shaw-Rutschman <elijahr@gmail.com> * Fix compareExchange bugs for non-trivial objects Bugs fixed: 1. compareExchange would not set the desired value in the success case. 2. compareExchange would not set var expected to the found value in the failure case. 3. withLock would spin forever running the unit tests. try..body..finally prevents this. Not sure why this makes a difference, since an exception wasn’t being raised, but clearing the guard in a finally block seems correct anyways. Signed-off-by: Elijah Shaw-Rutschman <elijahr@gmail.com>
* threadpool.nim: minor code style changesAraq2020-07-181-5/+5
|
* Remove deprecated stuff from stdlib (#14699)Miran2020-06-171-1/+1
| | | | | | | * update to the latest Jester * remove deprecated procs from some stdlib modules * 'criterion' is not maintained anymore and relies on obsolete stuff
* Step2: fixes #13781, fixes #13805 (#13897)cooldome2020-04-161-28/+21
| | | | | | | | | * 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>
* Documentation, add more examples (#13825)Juan Carlos2020-04-011-3/+5
|
* Add Documentation (#13811)Juan Carlos2020-03-311-0/+3
| | | | * Add more Docs and runnableExamples
* threadpool.nim: allow control over MaxThreadPoolSize and ↵Araq2020-03-201-3/+3
| | | | MaxDistinguishedThread; refs #10584
* csize => csize_t for sysctlTimothee Cour2020-01-281-3/+2
|
* Fix #12812Clyybber2019-12-051-1/+1
|
* remove unused importsnarimiran2019-11-061-4/+1
|
* Fix many broken linksJjp1372019-10-221-1/+1
| | | | | | 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.
* Revert "Fixes #12187 (#12321)" (#12447)Andreas Rumpf2019-10-181-1/+1
| | | This reverts commit 00c31e87660d9db813871f5aa23661bf6b9bbdcb.
* Fixes #12187 (#12321)Clyybber2019-10-081-1/+1
| | | | | | * Fixes #12187 * Point to fork of compactdict Since the original repo is now archived / read-only
* Fix spellings (#12277) [backport]Federico Ceratto2019-09-272-2/+2
|
* threadpool: fix link in docs [ci skip] (#12258) [backport]Jjp1372019-09-251-1/+1
| | | [backport]
* last stdlib cleanupsAraq2019-09-213-12/+17
|
* fixes #1188Araq2019-08-161-2/+8
|
* [refactoring] remove unused imports in the compiler and in some stdlib modulesAraq2019-07-181-3/+1
|
* Fix typo (#11573)WhiteDuke2019-06-251-1/+1
|
* fixes #11275 (#11276)Ștefan Talpalaru2019-05-201-3/+20
|
* fixes #11250 (#11251)Ștefan Talpalaru2019-05-151-7/+5
|
* improved documentation for several modules (#10752)Miran2019-03-011-48/+69
| | | | | | | | | | | | More detailed documentation for: * md5 * hashes Mostly cosmetic improvements for: * threadpool * typetraits * channels * threads
* Fix compilation w/ Atomic[T] types (#10607)LemonBoy2019-02-131-2/+2
|
* fixes #10584 [backport]Andreas Rumpf2019-02-061-3/+4
|
* Fixes new atomics for C + vcc (#10267)Jörg Wollenschläger2019-01-111-21/+21
|
* [RFC] Better atomics (#8620)Jörg Wollenschläger2019-01-101-0/+378
| | | | | * Initial version of C++11 style atomics * Make Atomic[T] always concrete
* manual: Fix links to Parallel & Spawn (#9342)Tomohiro2018-10-131-1/+1
|
* docs: remove most stale links; refs #9109Araq2018-09-291-1/+1
|
* cpuinfo: fix compilation for 32bit HaikuLeorize2018-09-251-3/+3
|
* Merge branch 'devel' into araq-miscAndreas Rumpf2018-08-161-0/+12
|\
| * Haiku support for Nim (#8542)alaviss2018-08-141-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * posix_other: Haiku now has spawn.h This is added per https://dev.haiku-os.org/ticket/13446 * posix_other: Add Haiku specific Dirent members * cpuinfo: Add an implementation for Haiku * distros: Add basic Haiku support * encodings: update Haiku support * fenv, math: Haiku now provides libm * times: Add Haiku struct members * ansi_c, osalloc: Add Haiku constants * threads: Add Haiku support * testament: Haiku uses LIBRARY_PATH * nim.cfg: Update Haiku support libnetwork should only be linked if network functions are used * threads: Haiku does not support -pthread switch * tworkingdir: Haiku's env is in /bin * posix_other: add SIGKILLTHR for Haiku * sockets: link with libnetwork on Haiku * coro: correct ucontext.h location http://pubs.opengroup.org/onlinepubs/009696699/basedefs/ucontext.h.html * coro: ucontext backend is not available on Haiku Haiku doesn't provide the <ucontext.h> header, as it was removed from POSIX * coro: fix setjmp backend The compiler does not allow statements after a noreturn function * nativesockets: Haiku doesn't support AI_V4MAPPED * system: hostOS can contains "haiku" * os: add support for Haiku's packagefs packagefs is read-only, but there are writable holes to the underlying file system as well * os: update constant for Haiku
* | renames threadpool.await to blockUntil; refs #7853Araq2018-08-141-24/+24
| |
* | deprecated regionized pointersAraq2018-08-101-4/+2
|/
* Native access to Genode environmentEmery Hemingway2018-06-071-3/+5
| | | | | | | | | | | | | | | | | Add a 'GenodeEnv' type and a 'componentConstructHook' to the system module. The 'componentConstructHook' allows for detection of POSIX style programs that exit implicitly or native Genode components that initialize to serve RPC requests and OS signals. This hook takes a 'GenodeEnv' argument so that the environment interface is passed cleanly to application code after globals are initialized. This is an typed pointer to a C++ object, procedures for accessing the environment will be available from a Nimble library and not included in the standard library. The standard library has an internal pointer to the environment object but this is not for external use, the undocumented global environment pointer has been removed.
* Minor fixes to enable tccGanesh Viswanathan2018-05-141-1/+1
|
* fixes #7638; awaitAny blocks if the flow vars all have been complete alreadyAndreas Rumpf2018-04-191-7/+17
|
* threadpool: minor documentation improvementAndreas Rumpf2018-04-191-1/+1
|
* Fallback to doNothing if /proc/loadavg cant be opened (#7123)Yuriy Glukhov2018-01-221-11/+14
|
* make tests green againAndreas Rumpf2017-10-291-2/+2
|
* more replacements for the deprecated '<'Andreas Rumpf2017-10-291-2/+2
|
* fixes cpuinfo regressionAraq2017-10-261-8/+2
|