patch applied (packages/base): Make threadWaitRead/threadWaitWrite partially useable on Windows

Simon Marlow simonmarhaskell at gmail.com
Wed Jul 9 07:11:54 EDT 2008


Wed Jul  9 04:10:08 PDT 2008  Simon Marlow <marlowsd at gmail.com>
  * Make threadWaitRead/threadWaitWrite partially useable on Windows
  
  They work with -threaded by calling fdReady() in a separate thread.
  
  "threadWaitRead 0" also works without -threaded (because we happen to
  know it's virtually equivalent to "hWaitForInput stdin (-1)").

    M ./Control/Concurrent.hs -2 +66
    M ./GHC/Handle.hs -11 +8

View patch online:
http://darcs.haskell.org/packages/base/_darcs/patches/20080709111008-12142-70735396964df7a65e894eafd61bf01f3a0f0914.gz


More information about the Cvs-libraries mailing list