#5060: iteratee: epollControl: permission denied (Operation not permitted)
-------------------------------+--------------------------------------------
Reporter: pacak | Owner: johan.tibell@…
Type: bug | Status: new
Priority: high | Milestone: 7.2.1
Component: libraries/base | Version: 7.0.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Linux | Blocking:
Architecture: x86_64 (amd64) | Failure: Incorrect result at runtime
-------------------------------+--------------------------------------------
Comment(by bos):
This is more or less a bug in the iteratee library. The pattern that users
of `threadWaitRead` and `threadWaitWrite` must follow is to try an IO
operation, and only wait if it returns with `EWOULDBLOCK`. I assume that
the iteratee library is not following this convention.
Now admittedly you can only deduce this convention by reading existing
code, as it's not documented, so I'm not surprised that it would arise.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5060#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs