How does the IO manager handle reading regular files?
Ben Gamari
ben at well-typed.com
Mon May 14 21:22:53 UTC 2018
Niklas Hambüchen <mail at nh2.me> writes:
...
>
> So GHC is trying to use `O_NONBLOCK` on regular files, which cannot
> work and will block when used through unsafe foreign calls like that.
>
Yikes!
> Is this a known problem?
>
Doesn't sound familiar to me. Sounds like a ticket is in order.
Thanks for spotting all of these nasty I/O issues; who knew there could
be so many of them.
Cheers,
- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20180514/46b78ec8/attachment.sig>
More information about the ghc-devs
mailing list