This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/intern/cycles/device/device.cpp
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

5.5 KiB