The stm-delay package

[Tags:bsd3, library, test]

This library lets you create a one-shot timer, poll it using STM, and update it to ring at a different time than initially specified.

It uses GHC event manager timeouts when available (GHC 7.2+, -threaded, non-Windows OS), yielding performance similar to threadDelay and registerDelay. Otherwise, it falls back to forked threads and threadDelay.

Add tryWaitDelayIO, improve performance for certain cases of newDelay and updateDelay, and improve example.


Versions 0.1, 0.1.1,
Dependencies base (>=4.3 && <5), stm [details]
License BSD3
Copyright Copyright (c) Joseph Adams 2012
Author Joey Adams
Stability Unknown
Category System
Home page
Source repository head: git clone git://
Uploaded Sun Sep 14 06:47:53 UTC 2014 by JoeyAdams
Distributions LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 1116 total (9 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees