Boost logo

Boost Users :

From: me22 (me22.ca_at_[hidden])
Date: 2007-06-11 18:46:54


On 11/06/07, Meryl Silverburgh <silverburgh.meryl_at_[hidden]> wrote:
> If I create a thread using boost::thread() library?
>
> boost::thread thrd( &DoWork ) );
>
> How can I kill "thrd" later on?
>
AFAIK you can't.

I think it's because there was no safe, reasonable, cross-platform
interface found for doing so. Also, I expect it wouldn't behave well
with destructors and exceptions. That's just a guess, though.

~ Scott


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net