The stm-delay package

[Tags: bsd3, library]

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.

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

Properties

Versions0.1, 0.1.1, 0.1.1.1
Dependenciesbase (>=4.3 && <5), stm
LicenseBSD3
CopyrightCopyright (c) Joseph Adams 2012
AuthorJoey Adams
Maintainerjoeyadams3.14159@gmail.com
CategorySystem
Home pagehttps://github.com/joeyadams/haskell-stm-delay
Source repositoryhead: git clone git://github.com/joeyadams/haskell-stm-delay.git
Upload dateSun Sep 14 06:47:53 UTC 2014
Uploaded byJoeyAdams
Downloads215 total (26 in last 30 days)

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees