Re: thread-safety definition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: thread-safety definition
- To: c++-pthreads@xxxxxxxxxxxxxxxx
- Subject: Re: thread-safety definition
- From: David Abrahams <dave@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 16 Jan 2004 19:35:35 -0500
Ted Baker <baker@xxxxxxxxxx> 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