Jack
2010-04-22 03:32:01 UTC
Dear all,
As my game application require more than 12 mobile units to do pathfinding
at the same time, I wonder if I implement a thread pool (and that means to
use
a task queue for awaiting tasks) for those objects, would that really affect
the overall performance
of the application? ( I mean some objects would wait for their turns and
standing still for a couple of minutes)
And are there any good examples to demostrate how to use a thread pool? I
looked codeguru and code project
and I want some more examples.
Thanks
Jack
As my game application require more than 12 mobile units to do pathfinding
at the same time, I wonder if I implement a thread pool (and that means to
use
a task queue for awaiting tasks) for those objects, would that really affect
the overall performance
of the application? ( I mean some objects would wait for their turns and
standing still for a couple of minutes)
And are there any good examples to demostrate how to use a thread pool? I
looked codeguru and code project
and I want some more examples.
Thanks
Jack