rawlock: A writer-biased RAW lock.

[ apache, concurrency, library ] [ Propose Tags ] [ Report a vulnerability ]

A writer-biased RAW lock.

It allows for multiple readers to run concurrently with at most one appender, or a single writer running on isolation.

The code is safe in the presence of async exceptions, meaning that each actor will cleanup after itself if an exception is received.


[Skip to Readme]

Modules

[Last Documentation]

  • Control
    • Control.RAWLock

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.2.0
Change log CHANGELOG.md
Dependencies base (>=4.18 && <4.22), io-classes (>=1.8 && <1.9), nothunks (>=0.2 && <0.3) [details]
Tested with ghc ==9.6 || ==9.8 || ==9.10 || ==9.12
License Apache-2.0[multiple license files]
Copyright 2024 INTERSECT
Author IOG Engineering Team
Maintainer operations@iohk.io
Category Concurrency
Bug tracker https://github.com/IntersectMBO/io-classes-extra/issues
Source repo head: git clone https://github.com/IntersectMBO/io-classes-extra(rawlock)
this: git clone https://github.com/IntersectMBO/io-classes-extra(tag rawlock-0.1.2.0)(rawlock)
Uploaded by IOHK at 2025-05-22T12:39:49Z
Distributions
Downloads 220 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2025-05-22 [all 2 reports]

Readme for rawlock-0.1.2.0

[back to package description]

RAWLock

A writer-biased RAW lock.

It allows for multiple readers to run concurrently with at most one appender, or a single writer running on isolation.

The code is safe in the presence of async exceptions, meaning that each actor will cleanup after itself if an exception is received.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

Before contributing, please ensure that:

  • Code is well-documented
  • Tests are written for new features or bug fixes

License

This project is licensed under the terms of the Apache 2.0 license.