From: stephen.hemminger@vyatta.com (Stephen Hemminger)
Subject: [ltt-dev] liburcu: likely and unlikely macro collision
Date: Tue, 01 Nov 2011 16:05:04 -0700 (PDT) [thread overview]
Message-ID: <fc9da044-1918-4936-9d4c-b0a2a8c977cc@tahiti.vyatta.com> (raw)
In-Reply-To: <20111101220018.GA19730@Krystal>
> likely()/unlikely() seems to be amongst the last macros that urcu
> defines that don't have urcu-specific prefixes. Thoughts on whether
> we
> should add a prefix such as caa_likely() and caa_unlikely() are
> welcome.
In our usage of liburcu, I had to do macro whacking to workaround
this conflict. Even wrapping the definition in urcu with '#ifndef likely'
would help.
next prev parent reply other threads:[~2011-11-01 23:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAEoG=qO4XivFb9XAkrefF3boVP9uZZYW2ncRKpKvxm6VpZsmyw@mail.gmail.com>
2011-11-01 22:00 ` Mathieu Desnoyers
2011-11-01 23:05 ` Stephen Hemminger [this message]
2011-11-01 23:55 ` Mathieu Desnoyers
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=fc9da044-1918-4936-9d4c-b0a2a8c977cc@tahiti.vyatta.com \
--to=stephen.hemminger@vyatta.com \
/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