On 25 February 2011 18:27, sclv <[email protected]> wrote: > > > Bas van Dijk-2 wrote: >> >> I believe the OS threads are created by my levmar library. This >> library uses bindings-levmar[4] which is a binding to a C library. >> bindings-levmar uses safe FFI calls because the levmar C procedures >> are reentrant (they need to call back into Haskell to execute the >> model function). I believe the RTS creates an OS thread for each safe >> FFI call. >> > > Sounds like #4262: http://hackage.haskell.org/trac/ghc/ticket/4262 > > (Should be fixed in head)
That looks exactly like my problem. I will try it out with ghc head on monday. Thanks! Bas _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
