This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
The new, cleaner, version of the atomic operations. The dummy code is…
… what you should start working with to port atomic ops. The linux code appears to be complete and *should* be the base of all Unix and GCC based versions. The macosx and win32 versions are currently just copies of the dummy code. I will begin working on the windows version as soon as this check in is done. I need someone to work on the Mac OS X version. I'm afraid that this check in will break QNX (Sorry!)
- Loading branch information
Showing
with
656 additions
and 2,748 deletions.
- +27 −26 include/SDL_atomic.h
- +144 −677 src/atomic/dummy/SDL_atomic.c
- +168 −647 src/atomic/linux/SDL_atomic.c
- +144 −677 src/atomic/macosx/SDL_atomic.c
- +164 −697 src/atomic/win32/SDL_atomic.c
- +9 −24 test/testatomic.c
Oops, something went wrong.