• entries
    205
  • comments
    228
  • views
    112811

Threading problem solved?

Sign in to follow this  
Mike Bossy

77 views

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  


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