[GHC] #14503: Killing a thread will block if there is another process reading from a handle

GHC ghc-devs at haskell.org
Wed Nov 29 10:42:07 UTC 2017


#14503: Killing a thread will block if there is another process reading from a
handle
-------------------------------------+-------------------------------------
        Reporter:  dnadales          |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.2.1
       Component:  libraries/base    |              Version:  8.0.2
      Resolution:  fixed             |             Keywords:
Operating System:  Windows           |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by dnadales):

 Thanks for checking this out. I've tried your example with GHC 8.2.1, and
 it also hangs when killing the reader. I'm also running a 64-bit version
 of Windows 10, so I don't know what might be happening.

 How did you launch the two processes? On a Unix like terminal emulator?
 (I've tried on MINGW64, but there it is even worse since I don't see any
 output). In my case I was using Windows Power Shell, but I get the same
 result in the old Windows Command Prompt.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14503#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list