|
Boost : |
From: bill_kempf (williamkempf_at_[hidden])
Date: 2002-01-14 13:41:27
--- In boost_at_y..., Beman Dawes <bdawes_at_a...> wrote:
> At 10:12 AM 1/14/2002, bill_kempf wrote:
>
> > ...
> >
> >Cancellation is being evaluated, and will eventually be added to
> >Boost.Threads. Because of the issues above, however, I can't
predict
> >when this will be.
>
> I don't have any problem with cancellation being excluded until it
can be
> done right.
>
> I'm guessing that at least some of the time when people ask for
thread
> cancellation, there is some other mechanism which will often
serve. If
> that's correct, do we have a write-up of "how to simulate
> thread-cancellation"? The FAQ entry for cancellation could link to
it.
You simulate it simply by using a condition. I'll work on the FAQ to
flesh this out.
Bill Kempf
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk