Archives : March-2011
__sync_fetch_and_add is just a built in function (you dont have to include anything to use them) for managing atomic variables when developing multithread applications in C++. There are several functions for working with atomic variables.An atomic varia..