The stm-stats package
This module provides functions that can replace calls to atomically and count how often the transaction was retried until it succeeded. It can emit warnings when transaction are retried more often than a given threshold, and provides global statistics across all transaction.
As an additional feature, if the transaction was named, transaction-related exceptions such as BlockedIndefinitelyOnSTM are replaced by variants that indicate which transaction caused the exception.
Changelog:
- 0.2.0.0
- (2011-10-10)
- Added warnInSTMFunction to TrackSTMConf.
- Bugfix with the global retry count warning.
- 0.1.0.0
- (2011-10-09)
- Initial Release
Properties
| Versions | 0.1.0.0, 0.2.0.0 |
|---|---|
| Dependencies | base (4.*), containers, stm, template-haskell, time |
| License | BSD3 |
| Author | David Leuschner <leuschner@factisresearch.com>, Stefan Wehr <wehr@factisresearch.com>, Joachim Breitner <mail@joachim-breitner.de> |
| Maintainer | Joachim Breitner <mail@joachim-breitner.de> |
| Category | Concurrency |
| Source repository | darcs get http://darcs.umidev.de/pub/stm-stats/ |
| Upload date | Mon Oct 10 18:16:36 UTC 2011 |
| Uploaded by | JoachimBreitner |
| Built on | ghc-7.2 |
Modules
- Control
- Concurrent
Downloads
- stm-stats-0.2.0.0.tar.gz (Cabal source package)
- package description (included in the package)