instruction sync -- need to preserve order

Rayson Ho raysonlogin@yahoo.com
Thu Dec 6 14:05:00 GMT 2001


Hi,

How can I make sure that gcc does not schedule instructions across a
memory barrier?? I am porting a threads library from AIX to PPC Linux,
and on AIX, the compiler has a build-in instruction that allows me to
do that.

Thanks,
Rayson



__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com



More information about the Gcc mailing list