Idris2/tests/chez
Matthew Mosior 53f448c0db
[ base ] Add atomically function (#3380)
* Adding initial implementation of atomicModifyIORef in Data.IORef.

* Updating chez003 test (IORefs) to add atomicModifyIORef.

* Updating CHANGELOG_NEXT.md.

* Fixing linting in libs/base/Data/IORef.idr.

* Fixing expected and tests/chez/chez003/IORef.idr to more appropriately test atomicModifyIORef functionality.

* Add documentation for libs/base/Data/IORef.idr.

* Clean up atomicModifyIORef in libs/base/Data/IORef.idr.

* Updating atomicModifyIORef implementation to drop codegen check, let client decide this.  Also update test to ensure enough contention to test for true atomicity (thanks to @stefan-hoeck for help with both of these).

* Remove documentation regarding backends other than chez.

* Update libs/base/Data/IORef.idr

Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>

* Updating CHANGELOG_NEXT.md with new function name, atomically, and updating tests/chez/chez003/IORef.idr to reflect new function.

* Fix linting for libs/base/Data/IORef.idr.

* Update documentation for modifyIORef in libs/base/Data/IORef.idr.

---------

Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>
2024-09-11 09:18:47 +01:00
..
barrier001 Group tests by directory 2023-09-07 14:57:22 +01:00
bitops Remove trivial testing input files 2023-09-07 14:57:22 +01:00
buffer001 Add testing utilities script 2023-09-07 14:57:22 +01:00
casts Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez001 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez002 Add testing utilities script 2023-09-07 14:57:22 +01:00
chez003 [ base ] Add atomically function (#3380) 2024-09-11 09:18:47 +01:00
chez004 Remove use of deprecated getByte function (#3190) 2024-01-14 11:26:51 -06:00
chez005 Add testing utilities script 2023-09-07 14:57:22 +01:00
chez006 Add testing utilities script 2023-09-07 14:57:22 +01:00
chez007 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez008 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez009 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez010 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez011 Add testing utilities script 2023-09-07 14:57:22 +01:00
chez012 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez013 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez014 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez015 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez016 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez017 Add filter_test_dir test utility 2023-09-07 14:57:22 +01:00
chez018 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez019 Add testing utilities script 2023-09-07 14:57:22 +01:00
chez020 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez021 Add testing utilities script 2023-09-07 14:57:22 +01:00
chez022 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez023 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez024 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez025 Add testing utilities script 2023-09-07 14:57:22 +01:00
chez026 Add testing utilities script 2023-09-07 14:57:22 +01:00
chez027 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez028 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez029 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez030 Add testing utilities script 2023-09-07 14:57:22 +01:00
chez031 Add testing utilities script 2023-09-07 14:57:22 +01:00
chez032 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez033 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez034 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
chez035 Add testing utilities script 2023-09-07 14:57:22 +01:00
chez036 Add testing utilities script 2023-09-07 14:57:22 +01:00
chez037 [ fix ] Report chez failures 2024-08-02 20:05:20 +01:00
constfold Remove trivial testing input files 2023-09-07 14:57:22 +01:00
constfold2 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
constfold3 Remove trivial testing input files 2023-09-07 14:57:22 +01:00
forkjoin001 Add testing utilities script 2023-09-07 14:57:22 +01:00
futures001 [ performance ] Implement weak memoisation of lazy values for chez and racket (#2791) 2024-08-06 15:24:57 +01:00
futures002 [ performance ] Implement weak memoisation of lazy values for chez and racket (#2791) 2024-08-06 15:24:57 +01:00
inlineiobind Add testing utilities script 2023-09-07 14:57:22 +01:00
integers Add testing utilities script 2023-09-07 14:57:22 +01:00
nat2fin Remove trivial testing input files 2023-09-07 14:57:22 +01:00
newints Remove trivial testing input files 2023-09-07 14:57:22 +01:00
perf001 Add testing utilities script 2023-09-07 14:57:22 +01:00
reg001 Add testing utilities script 2023-09-07 14:57:22 +01:00
semaphores001 Add testing utilities script 2023-09-07 14:57:22 +01:00
semaphores002 Add testing utilities script 2023-09-07 14:57:22 +01:00