This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [RFC] libstdc++ atomicity, x86 agnostic version
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: libstdc++ at gcc dot gnu dot org, jakub at redhat dot com, mark at codesourcery dot com
- Date: 25 Feb 2004 19:08:49 +0100
- Subject: Re: [RFC] libstdc++ atomicity, x86 agnostic version
- Organization: Integrable Solutions
- References: <20040225120358.46071e6c.bkoz@redhat.com>
Benjamin Kosnik <bkoz@redhat.com> writes:
| One way around this would be to make these atomic functions gcc
| builtins.
This is what I vote for.
| These would be different semantics than other gcc builtins,
| however, because there could be no fall back to a support library in the
| case of failure to use the builtin.
We already have built-ins that ought to be expanded by GCC.
-- Gaby