From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2008-05-28 11:09:26
Anthony Williams wrote:
> "vicente.botet" <vicente.botet_at_[hidden]> writes:
>> just a question that could clarify my thoughts, can a non joinable thread be
> 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.
But why do you invalidate the thread object after a call to detach ? Why
is it impossible to refer to a detached thread ? (And, for that matter,
why can't a default-constructed thread not simply refer to the 'main'
Why do we have unreferrable (sp?) threads of execution ?
-- ...ich hab' noch einen Koffer in Berlin...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk