Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2002-08-24 12:35:05

Peter Dimov wrote:
> > A) R* join()
> >
> > thread::canceled( jtp->join() ) would yield TRUE if
> > thread was canceled, otherwise result pointer can be
> > safely derefenced ("void R" aside);
> [...]
> > What's wrong with it (the need to communicate exception type
> > lists to the "generic" code, aside please)?
> Nothing (except that R cannot be a reference type.)

But R CAN be some reference "wrapper" type, I guess.

> Which is better depends on typical use. ....

Well, how would you "communicate" canceled, busy and timedout
"results" (using join/tryjoin/timedjoin operations), then?


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