How can I use atomic variables in C?
I need to use an atomic variable in C, as this variable is accessed across different threads. Don't want a race condition.
My code is running on CentOS. What are my options?