On 25 February 2011 19:10, Bas van Dijk <[email protected]> wrote: > 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.
In ghc-HEAD (7.1.20110227) the bug is fixed, great! The bug still appears in ghc-7.0.2-rc2, so I assume the patch in #4262 was not merged in that release. Will it be merged into the upcoming ghc-7.0.2? Regards, Bas _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
