Update - Re: Open Sourced Glide on Linux PPC
Geert Uytterhoeven
geert at linux-m68k.org
Tue Dec 28 23:35:57 EST 1999
On 27 Dec 1999, Peter Chang wrote:
> Geert Uytterhoeven <geert at linux-m68k.org> writes:
> > If you use the *mb() macros instead of eieio(), you don't have to use #ifdefs
> > and it'll work automagically on e.g. Alpha as well.
>
> This I know less about, but these might fence more often than strictly necessary?
wmb() is a barrier for writing.
rmb() is a barrier for reading.
mb() is a barrier for both and thus the `safest'.
The main advantage is that these are defined for all architectures, unlike
eieio().
Gr{oetje,eeting}s,
--
Geert Uytterhoeven -- Linux/{m68k~Amiga,PPC~CHRP} -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list