11 Jun
2007
11 Jun
'07
11:11 p.m.
On 6/11/07, me22
On 11/06/07, Meryl Silverburgh
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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users