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

John Lato jwlato at gmail.com
Sat Oct 23 10:54:15 EDT 2010

On Fri, Oct 22, 2010 at 6:16 PM, Bulat Ziganshin
<bulat.ziganshin at gmail.com>wrote:

> Hello John,
> Monday, October 18, 2010, 8:15:42 PM, you wrote:
> > If anyone is listening, I would very much like for there to be a
> > mechanism by which external functions can be called "unsafe"-ly, but
> > without blocking all other Haskell threads.  I have code that does this:
> +RTS -N2

This doesn't work, which was why the OP asked in the first place.  When a
thread calls an unsafe foreign function, it blocks everything until that
function returns.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20101023/7323b95e/attachment.html

More information about the Haskell-Cafe mailing list