This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: atomic builtin routines


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]