#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 tibbe):

 Note that there's currently no good way to do async file I/O. Not with the
 old or new I/O manager. epoll makes this more clear by throwing the error
 you're seeing, while select/poll will just silently accept the file
 descriptor.

 As for the iteratee library implementation, I recommend just making
 blocking read/write calls. Given the way that GHC implements (safe)
 foreign calls GHC should reuse OS threads from its thread pool to make the
 calls.

 The only thing we can fix at the moment is the documentation of
 `Control.Concurrent.threadWait*`.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5060#comment:17>
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

Reply via email to