Boost logo

Boost :

From: Hillel Y. Sims (hsims_at_[hidden])
Date: 2002-10-04 12:37:46

"Victor A. Wagner, Jr." <vawjr_at_[hidden]> wrote in message
> >
> >unless the entire thread running vector2.push_back(e2) gets >>canceled<<
> >hitting some cancellation point or async-cancel region... on "some"
> >C/*C++* implementation that DOESN'T invoke catch(...) handlers on thread
> >cancellation (or exit)... and this IS "industry practice" (AIX, Solaris,
> >pthreads-win32/non-VCE, probably z/OS, etc.), nowadays, BTW. ;-) ;-)
> which, of course, means you can never do exception safe things in such an

It means that use of catch(...) is not 100% safe in such an OS.

"Hillel Y. Sims" <hsims_at_[hidden]> wrote in message
> - ScopeGuard
> - CancelGuard - disable thread-cancellation in critical regions
> (platform-specific implementation: no effect on non-pthread platforms)
> - NoThrowGuard - similar protection as "throw()" spec, but can be applied
> any block scope without need for interface-polluting ES, also provides
> cancellation protection via CancelGuard. (
> )



Hillel Y. Sims
FactSet Research Systems
hsims AT

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