
22 Sep
2008
22 Sep
'08
9:50 a.m.
Manlio Perillo wrote:
P.S.: another question. Why, in ghci, every time I call myThreadId, I get a different value?
Prelude Control.Concurrent> myThreadId ThreadId 40 Prelude Control.Concurrent> myThreadId ThreadId 41
GHCi runs each expression in a new thread. Cheers, Simon