This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: basic_string::release and thread safety: what about basic_string::grab?
- To: drepper at cygnus dot com, egcs at egcs dot cygnus dot com, jbuck at Synopsys dot COM
- Subject: Re: basic_string::release and thread safety: what about basic_string::grab?
- From: mrs at wrs dot com (Mike Stump)
- Date: Tue, 6 Jul 1999 11:46:49 -0700
> From: Joe Buck <jbuck@Synopsys.COM>
> To: drepper@cygnus.com, egcs@egcs.cygnus.com
> Date: Tue, 6 Jul 99 10:37:58 PDT
> So, should basic_string::Rep::grab also use an atomic instruction to
> increment grab? Or is the low-probability memory leak OK?
A system that fails faster is easier to test than one that fails more
slowly. A flight to mars take a long time. If you don't think we go
there, we already have.
:-(
You're in the middle of an important phone call, do you want the
satellite to reboot? If you think we don't go there...