[GHC] #13525: hWaitForInput with timeout causes program to abort
GHC
ghc-devs at haskell.org
Wed Apr 19 15:40:27 UTC 2017
#13525: hWaitForInput with timeout causes program to abort
----------------------------------+--------------------------------------
Reporter: bgamari | Owner: (none)
Type: bug | Status: new
Priority: highest | Milestone: 8.2.1
Component: Compiler | Version: 8.0.2
Resolution: | Keywords:
Operating System: Linux | Architecture: x86_64 (amd64)
Type of failure: Runtime crash | Test Case:
Blocked By: | Blocking:
Related Tickets: #12912, #8684 | Differential Rev(s):
Wiki Page: |
----------------------------------+--------------------------------------
Comment (by bgamari):
One approach to fix for the threaded runtime this would be to use
`threadWaitRead` in conjunction with `System.timeout`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13525#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list