Idris2/tests/chez/chez003
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
..
expected [ base ] Add atomically function (#3380) 2024-09-11 09:18:47 +01:00
IORef.idr [ base ] Add atomically function (#3380) 2024-09-11 09:18:47 +01:00
run Remove trivial testing input files 2023-09-07 14:57:22 +01:00