
#8733: I/O manager causes unnecessary syscalls in send/recv loops -------------------------------------+------------------------------------ Reporter: tibbe | Owner: simonmar Type: bug | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by tibbe): @carter it could, but then we might end up yielding before all the content has been sent (in case it's spread over several `send`s). We could think about having something similar to `TCP_CORK` to have the client communicate when it's ready to yield. On the other hand, if the client has to deal with this issue she might as well yield manually. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8733#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler