Jump to content
  • Advertisement
  • entries
  • comments
  • views

Threading problem solved?

Sign in to follow this  
Mike Bossy


Thanks to the wonderful world of unit tests I was able to refactor my resource manager class into two separate managers for textures and audio in about 30 minutes. Running my unit tests allowed me to know I hadn't made any ugly cut and paste errors that messed things up. Now all that's left is to wait to see if the random crash occurs again. I do have a way to have my engine run in single threaded mode which I did and never saw the crash so hopefully this is the fix I need. Unfortunately the crash happens so rarely that I won't be sure for a while.

On a semi-related note I found an ugly buffer overrun in my game code today that may be the real cause. I'm totally overwriting past the end of an array due to a stupid coding error. Once that happens all bets are off and any crash could be happening because of it. Hopefully one of these fixes sticks.
Sign in to follow this  


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!