[GHC] #13497: GHC does not use select()/poll() correctly on non-Linux platforms
GHC
ghc-devs at haskell.org
Fri Mar 31 01:05:34 UTC 2017
#13497: GHC does not use select()/poll() correctly on non-Linux platforms
-------------------------------------+-------------------------------------
Reporter: nh2 | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Runtime System | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #8684, #12912 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by nh2):
I was wrong when I said:
Replying to [comment:1 nh2]:
> and the one in `awaitEvent()` aims to block as long as possible, so
that's not a problem either.
The `select()` occurrence in `awaitEvent()` waits for
`sleeping_queue->block_info.target - now` so that also needs to be vetted
on whether it has the `&tv` updating problem on non-Linux.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13497#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list