Sgt Conker – Multi-threading your XNA
Saturday, November 28 2009 - xna
Catalin Zima has posted a really good article on Sgt Conker that will take you through the ins and outs of Multi-Threading you XNA Application.
In this tutorial you will learn how to use multi-threading in your XNA games. The tutorial starts with a short introduction about multi-threading, the Xbox 360 architecture, and the advantages and disadvantages of using multi-threading for XNA games. This will be followed by a very brief look at the classes and primitives that we will use in the rest of the article. After this, the main part of this tutorial is focused on using multi-threading for the main game loop. You will learn how you can separate the code for drawing and updating you game and run the two tasks in parallel. There are other ways to use multi-threading in your games, but they will not be covered by this tutorial. As a closing word, we will draw some conclusions and look at future developments.
Here is a link to the Complete Article.
