[Haskell-cafe] concurrency vs. I/O in GHC

Gregory Collins greg at gregorycollins.net
Sun Oct 17 15:30:21 EDT 2010

Donn Cave <donn at avvanta.com> writes:

> As I have migrated more of my application into Haskell, I find that
> I/O in one thread effectively blocks other threads.  That's rather
> the opposite of what I need - I don't care so much if Haskell threads
> manage to compute in parallel, but the application should continue
> to function, in other threads, while an I/O has one thread blocked.
> Is that supposed to happen, is there anything I can do about it?

Dumb question: are you compiling "-threaded"?

Gregory Collins <greg at gregorycollins.net>

More information about the Haskell-Cafe mailing list