Boost logo

Boost Users :

From: Meryl Silverburgh (silverburgh.meryl_at_[hidden])
Date: 2007-06-11 19:11:45


On 6/11/07, me22 <me22.ca_at_[hidden]> wrote:
> 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.
>

Thanks. But is there a solution for linux? I mean a safe way to kill
thread on linux?

> ~ Scott
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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