
28 May
2008
28 May
'08
7:05 p.m.
Anthony Williams:
I have thought about providing an "interrupt handle" which you can obtain either from a boost::thread object, or by calling boost::this_thread::get_interrupt_handle() or similar, in which case a detached thread would be interruptible.
At this point how far would you be from N2178? It does give you this exact functionality, and in addition, one gets always-joinable handles that keep referring to its thread unless assigned something else. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2178.html