or better, use the builtin gcc atomic ops

2010/11/30 Deniz <daimler3@googlemail.com>
you could use SDL_atomic.h of the SDL library or any other 3rd party library

2010/11/24 大学生 <chinoistzc@gmail.com>
How to use atomic operation in MinGW?
Any help will be highly apprecaited!
                                                        Tian Zhichao
                                                       Chengdu, Sichuan ,China

Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
MinGW-users mailing list

This list observes the Etiquette found at
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:
Also: mailto:mingw-users-request@lists.sourceforge.net?subject=unsubscribe