Boost logo

Boost :

From: bill_kempf (williamkempf_at_[hidden])
Date: 2002-01-14 13:44:13


--- In boost_at_y..., "Peter Dimov" <pdimov_at_m...> wrote:
> From: "Beman Dawes" <bdawes_at_a...>
> > 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.
>
> Why make users reinvent the cancellation wheel?

They shouldn't have to. Boost.Threads will include cancellation at
some point. I just want to insure we do it correctly.

In the mean time, cancellation can be simulated trivially in user
code, and that work around is what Beman wants documented.

Bill Kempf


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk