public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@redhat.com>
To: Ian Lance Taylor <iant@google.com>
Cc: Matthias Klose <doko@ubuntu.com>,
	Andreas Schwab <schwab@linux-m68k.org>,
	       gcc-patches@gcc.gnu.org
Subject: Re: PATCH RFA: PR go/55201: Create libatomic convenience library
Date: Tue, 18 Dec 2012 23:09:00 -0000	[thread overview]
Message-ID: <50D0F7BA.7040600@redhat.com> (raw)
In-Reply-To: <CAKOQZ8yamoyOOy0xe1MmzpmAEsAbbYyqbPVvmUnX601ix_we3g@mail.gmail.com>

On 12/18/2012 02:52 PM, Ian Lance Taylor wrote:
> Argh.  But why?  Wouldn't that only apply to cases where the lock was
> sometimes locked by one library and sometimes locked by a different
> one?

If two copies of the library aren't looking at the same lock object,
then the lock does no actual locking.

The lock object(s) themselves are not part of the public interface
of the libatomic library.


r~

  reply	other threads:[~2012-12-18 23:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-18 19:30 Ian Lance Taylor
2012-12-18 21:32 ` Richard Henderson
2012-12-18 22:09   ` Ian Lance Taylor
2012-12-18 22:31     ` Richard Henderson
2012-12-18 22:52       ` Ian Lance Taylor
2012-12-18 23:09         ` Richard Henderson [this message]
2012-12-18 23:15         ` Richard Henderson
2012-12-19  0:28           ` Ian Lance Taylor
2012-12-19 15:38             ` Matthias Klose
2012-12-19 15:47               ` Ian Lance Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50D0F7BA.7040600@redhat.com \
    --to=rth@redhat.com \
    --cc=doko@ubuntu.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=iant@google.com \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).