3#include <Foundation/Strings/String.h>
4#include <Foundation/Threading/AtomicInteger.h>
5#include <Foundation/Threading/ConditionVariable.h>
6#include <Foundation/Threading/Implementation/TaskSystemDeclarations.h>
7#include <Foundation/Types/SharedPtr.h>
21#if PL_ENABLED(PL_COMPILE_FOR_DEBUG)
34 bool m_bStartedByUser =
false;
35 plUInt16 m_uiTaskGroupIndex = 0xFFFF;
36 plUInt32 m_uiGroupCounter = 1;
Condition variables are used to put threads to sleep and wake them up upon certain events.
Definition ConditionVariable.h:22
A hybrid array uses in-place storage to handle the first few elements without any allocation....
Definition HybridArray.h:12
Provides a simple mechanism for mutual exclusion to prevent multiple threads from accessing a shared ...
Definition Mutex.h:13
Definition TaskGroup.h:11
Given out by plTaskSystem::CreateTaskGroup to identify a task group.
Definition TaskSystemDeclarations.h:103
This system allows to automatically distribute tasks onto a number of worker threads.
Definition TaskSystem.h:25
Enum
Definition TaskSystemDeclarations.h:41
@ ThisFrame
Medium priority, guaranteed to get finished in this frame.
Definition TaskSystemDeclarations.h:43