summary refs log tree commit diff stats
path: root/lib/pure/concurrency/atomics.nim
Commit message (Collapse)AuthorAgeFilesLines
* remove unnecessary deps (#17307)flywind2021-03-091-2/+0
| | | | | | | * improve test coverage for isolation * a bit better * remove unnecessary deps
* use typeof instead type (#16962)flywind2021-02-081-1/+1
|
* 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>
* Fix #12812Clyybber2019-12-051-1/+1
|
* Fix spellings (#12277) [backport]Federico Ceratto2019-09-271-1/+1
|
* last stdlib cleanupsAraq2019-09-211-12/+13
|
* Fix compilation w/ Atomic[T] types (#10607)LemonBoy2019-02-131-2/+2
|
* 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