
30 Mar
2006
30 Mar
'06
10:13 a.m.
Hi
What does YHC do about in-progress thunk evaluations when a context switch happens? Does it use blackholing like GHC, or does it portentially duplicate the work, or something else?
As far as I am aware, since it only switches on instruction boundaries, it never has to worry about this. It certainly doesn't duplicate work, and I think the blackholing is just used for circular dependancy problems, exactly as before threading became used. To be honest, for concurrency I'm a bit out of my depth, Tom did all the design and implementation. Thanks Neil