I take it you mean OS-level threads then?
We track Haskell threads.
edit: Found the code. :)
We rolled our own implementation. Our WAI application action increments a counter and decrements it again whenever an HTTP request is received and completed.
It doesn't track threads created as a part of HTTP request handling, but we don't allow those actions to forkIO anyway. There hasn't been any demand for it.
Ah, right, that makes sense - thanks.
Re:What it's like to use Haskell
by thinkpad20 on Wednesday March 26, 2014 @06:06PM
(#7476984)
... so, how? Isn't that what he was asking?
We track total threads, working or not. It works great as an indicator because it tends to stay below the number of CPU cores on the server.