Mike Smith wrote:
>
> Ugh. I don't actually like that, because it serves a valid purpose.
> What irritates me mostly is just that there is no way of casting a
> volatile object into a non-volatile type, so you can't implement any sort
> of conditional volatility exclusion.
You can however use a union and have a non-volatile object aliasing a
volatile object as in:
union u {
volatile int vi;
int nvi;
};
--
Marcel Moolenaar
mail: [EMAIL PROTECTED] / [EMAIL PROTECTED]
tel: (408) 447-4222
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message
- One more question (different now) Simon Shapiro
- One more question (different now) Garrett Wollman
- Re: One more question (different now) Bruce Evans
- Re: One more question (different now) Mike Smith
- Re: One more question (different now) David O'Brien
- Re: One more question (different now) Mike Smith
- Re: One more question (different now) Marcel Moolenaar
- Re: One more question (different ... Simon Shapiro
- Re: One more question (different now) Simon Shapiro
- Re: One more question (different now) Doug Rabson
- Re: One more question (different ... Simon Shapiro
- Re: One more question (differ... Doug Rabson
- Re: One more question (di... Bruce Evans
- Re: One more question (di... David Malone
- Re: One more question (di... Bernd Luevelsmeyer
- Re: One more question (di... Sheldon Hearn
- Re: One more question (di... Bernd Luevelsmeyer
