Package Info


Retry statistics for STM transactions


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.


[] (2011-10-10)

[ ] Added 'warnInSTMFunction' to 'TrackSTMConf'.

[ ] Bugfix with the global retry count warning.

[] (2011-10-09)

[ ] Initial Release.

License: BSD-3-Clause



Package Version Update ID Released Package Hub Version Platforms Subpackages info GA Release 2018-08-01 15
  • AArch64
  • ghc-stm-stats
  • ghc-stm-stats-devel info GA Release 2018-07-30 15
  • ppc64le
  • x86-64
  • ghc-stm-stats
  • ghc-stm-stats-devel