1 int v; 2 3 int sync_lock_test_and_set(int a)4 sync_lock_test_and_set (int a) 5 { 6 return __sync_lock_test_and_set (&v, a); 7 } 8