configure.in
changeset 5095 dceec93471e7
parent 5093 817064595222
child 5103 797b37c0c046
--- a/configure.in	Mon Jan 24 23:54:21 2011 -0600
+++ b/configure.in	Tue Jan 25 17:40:06 2011 -0800
@@ -301,6 +301,7 @@
     int a;
     void *x, *y, *z;
     __sync_lock_test_and_set(&a, 4);
+    __sync_lock_test_and_set(&x, y);
     __sync_fetch_and_add(&a, 1);
     __sync_bool_compare_and_swap(&a, 5, 10);
     __sync_bool_compare_and_swap(&x, y, z);
@@ -317,6 +318,7 @@
         ],[
         int a;
         __sync_lock_test_and_set(&a, 1);
+        __sync_lock_release(&a);
         ],[
         have_gcc_sync_lock_test_and_set=yes
         ])