
March 29, 2007
4:32 p.m.
Greg Ewing <greg.ewing@canterbury.ac.nz> wrote:
I was thinking about thread killing, and why we think it's okay to kill OS processes but not threads.
I don't know how useful the feature would be (I've not had this particular issue before), but one implementation strategy would be to use thread local storage and weak references to the incoming queue of other threads. Getting queues in the proper thread local storage between two threads is a little more tricky when you want it done automatically, but a couple lines of boilerplate and that's fixed. - Josiah