Go to the source code of this file.
◆ AO_HAVE_fetch_and_add_full
| #define AO_HAVE_fetch_and_add_full |
◆ AO_HAVE_fetch_compare_and_swap_full
| #define AO_HAVE_fetch_compare_and_swap_full |
◆ AO_HAVE_nop_full
◆ AO_fetch_and_add_full()
Definition at line 33 of file tile.h.
34 {
35 return __sync_fetch_and_add(p, incr);
36 }
◆ AO_fetch_compare_and_swap_full()
Definition at line 40 of file tile.h.
42 {
43 return __sync_val_compare_and_swap(addr, old_val, new_val
44 );
45 }
◆ AO_nop_full()
Definition at line 26 of file tile.h.
27 {
28 __sync_synchronize();
29 }