The stm-delay package

[ Tags: bsd3, library, system ] [ Propose Tags ]

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

Versions 0.1, 0.1.1, 0.1.1.1
Dependencies base (>=4.3 && <5), stm [details]
License BSD3
Copyright Copyright (c) Joseph Adams 2012
Author Joey Adams
Maintainer joeyadams3.14159@gmail.com
Category System
Home page https://github.com/joeyadams/haskell-stm-delay
Source repository head: git clone git://github.com/joeyadams/haskell-stm-delay.git
Uploaded Sun Sep 14 06:47:53 UTC 2014 by JoeyAdams
Distributions LTSHaskell:0.1.1.1, NixOS:0.1.1.1, Stackage:0.1.1.1, Tumbleweed:0.1.1.1
Downloads 4246 total (225 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees