Boost logo

Boost :

From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2008-05-28 11:04:14


"vicente.botet" <vicente.botet_at_[hidden]> 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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk