Jump to content
Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
Posted 02 April 2012 - 05:47 PM
Posted 02 April 2012 - 06:21 PM
Posted 06 April 2012 - 08:23 PM
Posted 06 April 2012 - 11:09 PM
So you've got a fixed number of 4 threads (assuming one network connection), which means you're targeting quad-core CPU's only. On dual-core, you'll be over-subscribed, and on hex-core you'll be under-subscribed.
My idea so far is to have the Game/AI/Physics be one main thread. The graphics be another main thread that updates asynchronously from the game. The sound output [and networking] would be its own thread as well.
Posted 07 April 2012 - 06:27 AM
There are explicit synch points in each main thread. They pull in updates at each update from other threads using the system that keeps things in synch. I'm currently working on coding it, but I have it all thought out.
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.