Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-08-23 06:29:21

From: "Alexander Terekhov" <terekhov_at_[hidden]>
> > Opinions? This behavior (with one minor exception) is
> > implementable now, at least on paper.
> why not simply adopt POSIX model with respect to
> pthread_exit/cancel/testcancel/setcancelstate/type
> etc.. using "exit"/"cancel" exceptions? e.g.
> (your proposal does not match POSIX model)

Why? My proposal doesn't have setcancelstate/type, but AFAICS it matches the
semantics described in 2-19 assuming that all threads are synchronously
cancelable by default.

Peter Dimov
Multi Media Ltd.

Boost list run by bdawes at, gregod at, cpdaniel at, john at