Reduce the default worker thread priority for the Job system, Job system is now aimed at long running or idle tasks

Add cvars to control the number of worker threads created by the TaskGraph and Job systems. The cvars are scales on the hw concurrency of the cpu.

Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>
This commit is contained in:
rgba16f
2021-09-29 16:16:29 -05:00
parent 84f28033a0
commit be166d68b8
5 changed files with 20 additions and 7 deletions
@@ -59,6 +59,10 @@ namespace AZStd
{
priority = desc->m_priority;
}
else
{
priority = SCHED_OTHER;
}
if (desc->m_name)
{
name = desc->m_name;