atomic operations

Vardhan, Sundara (GE Infra, Energy) sundara.vardhan@ge.com
Sun Apr 27 16:08:00 GMT 2008


Hi All

Are there any atomic operations available. I am looking for something equivalent to atomic_swap_uchar in Solaris. I tried to use __sync_val_compare_and_swap() but get errors when the program tries to load it in  runtime. Perhaps I need to link or download some libraries. Any idea which?

Thanks in advance

Vardhan



More information about the Gcc-help mailing list