This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
atomic builtin routines
- From: "Vardhan, Sundara (GE Infra, Energy)" <sundara dot vardhan at ge dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 14 May 2008 09:48:26 -0400
- Subject: atomic builtin routines
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