
28 May
2008
28 May
'08
3:04 p.m.
"vicente.botet" <vicente.botet@wanadoo.fr> writes:
just a question that could clarify my thoughts, can a non joinable thread be interruptible?
No, because you no longer have a handle with which to interrupt it. 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. Anthony -- Anthony Williams | Just Software Solutions Ltd Custom Software Development | http://www.justsoftwaresolutions.co.uk Registered in England, Company Number 5478976. Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL