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.
This commit is contained in:
Sam Lantinga
2011-01-25 23:23:52 -08:00
parent 94cfb29bb1
commit c382f95013
2 changed files with 396 additions and 0 deletions

View File

@@ -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