From: Randolph Chung <tausq@debian.org>
To: John David Anglin <dave@hiauly1.hia.nrc.ca>
Cc: Matthew Wilcox <willy@debian.org>,
grundler@dsl2.external.hp.com,
parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] Re: [parisc-linux-cvs] linux grundler
Date: Sat, 8 Feb 2003 16:56:08 -0800 [thread overview]
Message-ID: <20030209005608.GR11363@tausq.org> (raw)
In-Reply-To: <20030209004942.GQ11363@tausq.org>
> lock(l1)
> do something
> unlock(l1)
>
> lock(l2)
> do something else
> unlock(l2)
>
> will gcc ever move the lock(l2) before the unlock(l1)?
well, bad example, since l1 and l2 are both volatile, but in general,
nothing will prevent part of "do something else" to happen inside the l1
lock, right?
randolph
next prev parent reply other threads:[~2003-02-09 1:34 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20030208222242.AA3554829@dsl2.external.hp.com>
[not found] ` <20030208222746.GB19683@dsl2.external.hp.com>
2003-02-08 23:23 ` [parisc-linux] Re: [parisc-linux-cvs] linux grundler Matthew Wilcox
2003-02-09 0:35 ` John David Anglin
2003-02-09 0:49 ` Randolph Chung
2003-02-09 0:56 ` Randolph Chung [this message]
2003-02-09 2:03 ` Matthew Wilcox
2003-02-09 2:18 ` John David Anglin
2003-02-09 14:55 ` James Bottomley
2003-02-09 2:11 ` John David Anglin
2003-02-09 3:27 ` Grant Grundler
2003-02-09 4:06 ` John David Anglin
2003-02-09 3:10 ` Grant Grundler
2003-02-09 12:29 ` Matthew Wilcox
2003-02-09 14:35 ` Matthew Wilcox
2003-02-09 19:14 ` Grant Grundler
2003-02-09 21:24 ` Aaron St. Pierre
2003-02-10 16:47 ` Grant Grundler
2003-02-09 23:56 ` Randolph Chung
2003-02-09 8:11 ` Grant Grundler
2003-02-09 12:21 ` Matthew Wilcox
2003-07-09 10:35 Joel Soete
[not found] <20030708022259.B62B849404E@palinux.hppa>
2003-07-08 15:06 ` Carlos O'Donell
-- strict thread matches above, loose matches on Subject: below --
2003-02-10 8:38 John Marvin
2003-02-09 8:55 [parisc-linux] " John Marvin
2003-02-09 7:40 John Marvin
2003-02-09 8:26 ` [parisc-linux] " Grant Grundler
[not found] <20020804011707.2B9164860@dsl2.external.hp.com>
2002-08-04 2:03 ` Grant Grundler
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=20030209005608.GR11363@tausq.org \
--to=tausq@debian.org \
--cc=dave@hiauly1.hia.nrc.ca \
--cc=grundler@dsl2.external.hp.com \
--cc=parisc-linux@lists.parisc-linux.org \
--cc=willy@debian.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