summary refs log tree commit diff stats
path: root/tests/stdlib/concurrency
Commit message (Collapse)AuthorAgeFilesLines
* make more standard libraries work with `nimPreviewSlimSystem` (#20343)ringabout2022-09-272-0/+3
| | | | | | | | | | | | | | | | | | | | | | | * 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
* Resolve cross file resolution errors in atomics (#19422) [backport:1.6]James2022-01-202-0/+20
| | | | | * Resolve call undeclared routine testAndSet * Fix undeclared field atomicType
* fix #18844 (#18851)flywind2021-09-201-1/+21
|
* fix #12726 Cannot take the compile-time sizeof Atomic types (#15928)Bung2020-11-121-0/+18
| | | | | * 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-0/+609
* 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>