Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/util/util_task.h
| Show All 21 Lines | |||||
| #include "util_vector.h" | #include "util_vector.h" | ||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| class Task; | class Task; | ||||
| class TaskPool; | class TaskPool; | ||||
| class TaskScheduler; | class TaskScheduler; | ||||
| typedef boost::function<void(void)> TaskRunFunction; | function<void(void)> TaskRunFunction; | ||||
sergey: shouldn't it just become:
typedef function<void(void)> TaskRunFunction;
? | |||||
| /* Task | /* Task | ||||
| * | * | ||||
| * Base class for tasks to be executed in threads. */ | * Base class for tasks to be executed in threads. */ | ||||
| class Task | class Task | ||||
| { | { | ||||
| public: | public: | ||||
| Task() {}; | Task() {}; | ||||
| ▲ Show 20 Lines • Show All 134 Lines • Show Last 20 Lines | |||||
shouldn't it just become:
?