thread-safety definition

David Abrahams dave at boost-consulting.com
Sat Jan 17 00:35:35 UTC 2004


Ted Baker <baker at cs.fsu.edu> writes:

> Yes, but it need not be a *huge* amount of cycles.  Protection
> against cancellation can be done via the equivalent of setting one
> bit in a thread descriptor

Setting one bit per nontrivial destructor call would be a performance
disaster for many programs.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




More information about the c++-pthreads mailing list