Hello Johannes, Friday, September 10, 2010, 2:25:58 PM, you wrote:
just forkIO in threaded RTS works for me. try: main = do forkIO expensiveCalc forkIO expensiveCalc forkIO expensiveCalc expensiveCalc > What's the story with FFI calls and concurrency? > I have an expensive calculation performed > by some C function, which I call from Haskell land. > (This works like a charm.) > I have several cores available. How could I run > several of these calculations in parallel? > Thanks, Johannes. > _______________________________________________ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe -- Best regards, Bulat mailto:bulat.zigans...@gmail.com _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe