Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Added a FIFO test to the atomic test suite.
Browse files Browse the repository at this point in the history
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 e4ed129
Show file tree
Hide file tree
Showing 2 changed files with 396 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/SDL_atomic.h
Expand Up @@ -44,6 +44,9 @@
* subtle issues that can arise here:
* http://msdn.microsoft.com/en-us/library/ee418650%28v=vs.85%29.aspx
*
* There's also lots of good information here:
* http://www.1024cores.net/home/lock-free-algorithms
*
* 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
Expand Down

0 comments on commit e4ed129

Please sign in to comment.