On Fri, Jun 10, 2011 at 00:36, Richard O'Keefe <o...@cs.otago.ac.nz> wrote: > The point is that they *could* have. The fact that they do not has > nothing whatever to do with UNIX. It was a Haskell design decision.
I have this feeling you're looking at it backwards... The question was whether GHC could do this. My answer was based on "given the way GHC's I/O manager works, it would require the OS to support thread-independent file descriptors"; if I understand you correctly, this is an unacceptable approach, the only valid one being "given that OSes don't implement per-thread file handles, GHC is not designed to do this". So, why is that a privileged viewpoint? _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe