[project @ 2005-11-30 12:24:18 by simonmar]
authorsimonmar <unknown>
Wed, 30 Nov 2005 12:24:18 +0000 (12:24 +0000)
committersimonmar <unknown>
Wed, 30 Nov 2005 12:24:18 +0000 (12:24 +0000)
commitd5316d049f1880579033f1e0404589fed0686080
treee92fbd1f90212d7d3134e1e101b1e1a5124a6345
parent641f8d5964b2b02f4cd7b9081adf6596c6f4d4d7
[project @ 2005-11-30 12:24:18 by simonmar]
Add

  registerDelay :: Int -> IO (TVar Bool)

for implementing delays and timeouts in STM.  The delay is implemented
in the same way as threadDelay.  Currently doesn't work on Windows or
without -threaded (I do intend to make it work on Windows, though).
GHC/Conc.lhs