Is there a way to make a function atomic in C.
I am not looking for a portable solution.(platforms looking for - Win,Linux)