Jump to content
  • Advertisement
  • entries
    205
  • comments
    228
  • views
    113730

Allowing having a team of one

Sign in to follow this  
Mike Bossy

270 views

To help out with my debugging my engine I added the ability to be able to run in single threaded mode as well as multi threaded. This allows me to easily look at a bug and figure out if it's being caused by multi-threading or not. The good part is that it was pretty much free to set up. After all if things work well running at the same time odds are they're going to run fine running in series. As an added feature I allowed this decision to be made at run-time. On the game initialization you just decide to run single or multi-threaded. This could solve the problem of being able to target multiple cores/CPUs without having a bunch of threads running on single core machines.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!