Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 841 vs 842 for /trunk/Source Code/Core/Headers/EngineTaskPool.h

Diff revisions: vs.
  @@ -45,8 +45,8 @@
45 45 * @param threadedFunction The callback function to call in a separate thread = the job to execute
46 46 * @param onCompletionFunction The callback function to call when the thread finishes
47 47 */
48 - TaskHandle CreateTask(const DELEGATE_CBK_PARAM<const Task&>& threadedFunction,
49 - const DELEGATE_CBK<>& onCompletionFunction = DELEGATE_CBK<>());
48 + TaskHandle CreateTask(const DELEGATE_CBK<void, const Task&>& threadedFunction,
49 + const DELEGATE_CBK<void>& onCompletionFunction = DELEGATE_CBK<void>());
50 50
51 51 /**
52 52 * @brief Creates a new Task that runs in a separate thread
  @@ -56,10 +56,10 @@
56 56 * @param onCompletionFunction The callback function to call when the thread finishes
57 57 */
58 58 TaskHandle CreateTask(I64 jobIdentifier,
59 - const DELEGATE_CBK_PARAM<const Task&>& threadedFunction,
60 - const DELEGATE_CBK<>& onCompletionFunction = DELEGATE_CBK<>());
59 + const DELEGATE_CBK<void, const Task&>& threadedFunction,
60 + const DELEGATE_CBK<void>& onCompletionFunction = DELEGATE_CBK<void>());
61 61
62 - TaskHandle parallel_for(const DELEGATE_CBK_PARAM_3<const Task&, U32, U32>& cbk,
62 + TaskHandle parallel_for(const DELEGATE_CBK<void, const Task&, U32, U32>& cbk,
63 63 U32 count,
64 64 U32 partitionSize,
65 65 Task::TaskPriority priority = Task::TaskPriority::HIGH,