[Haskell] thread-local variables
ekarttun at cs.helsinki.fi
Sun Aug 6 06:29:10 EDT 2006
On 06.08 04:23, Frederik Eaton wrote:
> I also forgot to mention that if you hold on to a ThreadId, it
> apparently causes the whole thread to be retained. Simon Marlow
> explained this on 2005/10/18:
Actually this problem does not exist in the code.
The problem is encountered if children are tied to their parents,
that is they contain the ThreadId of the parent thread. In my
code this problem should not occur.
- Einar Karttunen
More information about the Haskell