[Haskell-cafe] Why don't my OS threads terminate?
Bas van Dijk
v.dijk.bas at gmail.com
Fri Feb 25 19:10:46 CET 2011
On 25 February 2011 18:27, sclv <s.clover at gmail.com> wrote:
> Bas van Dijk-2 wrote:
>> I believe the OS threads are created by my levmar library. This
>> library uses bindings-levmar 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.
More information about the Haskell-Cafe