atomic builtin routines

Vardhan, Sundara (GE Infra, Energy) sundara.vardhan@ge.com
Wed May 14 15:01:00 GMT 2008


Hi All

I have used __sync_lock_test_and_set() routines in gcc 4.1.1 with -march=pentiumpro successfully. Are there equivalent set of routines or any other functions that I can use for spin locks in gcc 3.4.6?

Your help will be greatly appreciated.

With Regards

Vardhan



More information about the Gcc-help mailing list