pipes? threadWaitRead?
Dean Herington
heringto at cs.unc.edu
Mon Jul 8 17:39:30 EDT 2002
I have some GHC-compiled programs that run OK under Sparc/Solaris but
hang under x86/Linux. I'm using GHC 5.02.3 on both systems (although
I've tried GHC 5.03.20020410 on Linux with the same failures). I'm
debugging to narrow the problem down. My current suspicion is that
closing the write end of a pipe is not always causing the read end to
see end-of-file. Is there any strangeness relating to this--or perhaps
with `threadWaitRead` on pipes--that anyone knows about? I sometimes
use a pipe to have two GHC threads communicate within a single process.
Dean
More information about the Glasgow-haskell-bugs
mailing list