Changes between Initial Version and Version 1 of Ticket #12912, comment 5


Ignore:
Timestamp:
Apr 12, 2017 5:42:40 PM (2 years ago)
Author:
bgamari
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12912, comment 5

    initial v1  
    22
    33The problem appears to be that the patch assumes that all IO operations go through the IO manager, which will take care of waiting for us. However, `GHC.IO.Handle.Text.hWaitForInput` appears to call `GHC.IO.Fd.ready` directly, which then passes the timeout to `fdReady`. It's not entirely clear what was intended by this comment,
    4 {{{#!hs
     4{{{#!c
    55    // We only handle msecs == 0 on non-Windows, because this is the
    66    // only case we need.  Non-zero waiting is handled by the IO manager.