Quote Originally Posted by Luuk van Venrooij
Also I have found a interesting articale on how valve made there engine multi threaded.

http://techreport.com/articles.x/11237
Very interesting article. I remember reading about free-lock algorithms in a Game Programming Gems, now I'm reading a little more:

http://en.wikipedia.org/wiki/Lock-fr...Implementation

Is there a way to access those atomic primitives in Delphi or even better in FPC, in a multiplatform manner? :?