Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files

Added a FIFO test to the atomic test suite.

This is really useful because we might be able to use something like this
for the SDL event queue.
  • Loading branch information
slouken committed Jan 26, 2011
1 parent 95a332e commit e4ed1290535cdb5a6e7be7894949f9e62049270a
Showing with 396 additions and 0 deletions.
  1. +3 −0 include/SDL_atomic.h
  2. +393 −0 test/testatomic.c
@@ -44,6 +44,9 @@
* subtle issues that can arise here:
* There's also lots of good information here:
* These operations may or may not actually be implemented using
* processor specific atomic operations. When possible they are
* implemented as true processor specific atomic operations. When that

0 comments on commit e4ed129

Please sign in to comment.