[Haskell-cafe] Concurrency question

Juan Carlos Arevalo Baeza jcab.lists at JCABs-Rumblings.com
Tue Sep 6 12:55:05 EDT 2005

Bulat Ziganshin wrote:

>Hello Dmitry,
>Sunday, September 04, 2005, 9:45:37 PM, you wrote:
>DV> -- These useful subroutines I saw in "Tackling The Awkward Squad"
>DV>            timer = do threadDelay n
>DV>                       return Nothing
>Notes from GHC/Conc.hs:
>-- Note: threadDelay, threadWaitRead and threadWaitWrite aren't really functional
>-- on Win32, but left in there because lib code (still) uses them (the manner
>-- in which they're used doesn't cause problems on a Win32 platform though.)
>may be, authors of "Tackling The Awkward Squad" just wrote their
>subroutines for working in Unix. also you can try -threaded option on
>compilation and try to use forkOS isntead of forkIO

   I don't think bounded  threads work under Win32 yet.


More information about the Haskell-Cafe mailing list