Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 756 vs 757 for /trunk/Source Code/Platform/Threading/Task.cpp

Diff revisions: vs.
  @@ -56,6 +56,17 @@
56 56
57 57 assert(!isRunning());
58 58
59 + if (Config::USE_SINGLE_THREADED_TASK_POOLS) {
60 + if (priority != TaskPriority::REALTIME &&
61 + priority != TaskPriority::REALTIME_WITH_CALLBACK) {
62 + priority = TaskPriority::REALTIME_WITH_CALLBACK;
63 + }
64 + }
65 + if (!Config::USE_GPU_THREADED_LOADING) {
66 + if (BitCompare(_taskFlags, to_const_uint(TaskFlags::SYNC_WITH_GPU))) {
67 + priority = TaskPriority::REALTIME_WITH_CALLBACK;
68 + }
69 + }
59 70 _done = false;
60 71 _priority = priority;
61 72 if (priority != TaskPriority::REALTIME &&