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 24 August 2012 - 02:09 PM
Edited by kauna, 24 August 2012 - 02:10 PM.
Posted 24 August 2012 - 02:15 PM
Posted 24 August 2012 - 02:18 PM
Posted 24 August 2012 - 04:21 PM
Edited by Telios, 24 August 2012 - 04:23 PM.
Posted 24 August 2012 - 07:57 PM
Edited by nfries88, 24 August 2012 - 07:58 PM.
Posted 24 August 2012 - 10:45 PM
The explicit purpose of multi-threading is to allow simultaneous execution of multiple tasks.
If the problem does not involve more than one task, using multiple threads should be avoided.
In the case of the game, you have three tasks (input, processing, and output), and Operating System limitations often require input and [visual] output to be done on the same thread. Processing (ai and physics) and audio output are deserving of their own threads.
Posted 25 August 2012 - 05:52 AM
Posted 25 August 2012 - 09:05 AM
Posted 25 August 2012 - 09:56 AM
Edited by Hodgman, 25 August 2012 - 10:03 AM.
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.