Re: atomic builtin routines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vardhan, Sundara (GE Infra, Energy) wrote:
> 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?

We didn't rename them, if that's what you are asking.  Sorry.

This is when they were added.  Any gcc before that doesn't have them.

http://gcc.gnu.org/ml/gcc-patches/2005-04/msg00915.html

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux