Commit Graph

1 Commits

Author SHA1 Message Date
Brecht Van Lommel
ea4ce9e4ea Cycles: centralized task scheduler for multithreading, which is basically the
CPU device threading code wrapped into something reusable.
		    
Basic idea is that there is a single TaskScheduler that keeps a pool of threads,
one for each core. Other places in the code can then create a TaskPool that they
can drop Tasks in to be executed by the scheduler, and wait for them to complete
or cancel them early.
2012-04-24 11:43:41 +00:00