I want to use those sync primitive such as __sync_fetch_and_add/sub/or underWindows. But it seems that ICC does not support it on Windows. Then anyway to word around? Anyone can do me a favor to provide me one sample code? Thanks a lot!
For more complete information about compiler optimizations, see our Optimization Notice.