opdenkamp/xbmc — comment on commit 685069db175b0548696f54a0a383fa519a922a30
File:  line 0
By FernetMenta:

I did a little research. Why not using gnu built-in atomic functions?
```
bool __sync_bool_compare_and_swap (type *ptr, type oldval type newval, ...)
type __sync_val_compare_and_swap (type *ptr, type oldval type newval, ...)
```