Thu Jun 19 07:19:11 PDT 2008  Simon Marlow <[EMAIL PROTECTED]>
  * Fix #2363: getChar cannot be interrupted with -threaded
  Now in -threaded mode, instead of just making a blocking call to
  read(), we call select() first to make sure the read() won't block,
  and if it would block, then we use threadWaitRead.
  
  The idea is that the current thread must be interruptible while it
  blocks.  This is a little slower than before, but the overhead only
  applies to blocking Handles (stdin/stdout/stderr, and those created by
  System.Process).

    M ./GHC/Handle.hs -28 +41

View patch online:
http://darcs.haskell.org/packages/base/_darcs/patches/20080619141911-12142-7a3b1a7d6f4004e890aefa5f8393acba090e9c0a.gz
_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to