Re: Question about C language.

From: Francis Moreau
Date: Mon Mar 24 2008 - 04:25:18 EST


On Sun, Mar 23, 2008 at 8:32 AM, Chris Snook <csnook@xxxxxxxxxx> wrote:
> Oops, forgot to mention, you should use atomic_t, to avoid aliasing
> problems, and ALSO use explicit barriers wherever you need them.
>

Interesting, could you give me some pointers about aliasing please ?

Thanks
--
Francis
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/