22 #define THREADMANAGER_REALTIME_FACTOR 1.00
23 #define THREADMANAGER_HIGH_PRIORITY_FACTOR 0.80
24 #define THREADMANAGER_NORMAL_PRIORITY_FACTOR 0.60
25 #define THREADMANAGER_LOW_PRIORITY_FACTOR 0.40
26 #define THREADMANAGER_IDLE_FACTOR 0.20
30 #pragma inline ( TThreadManager::GetThreadCount )
31 #pragma inline ( TThreadManager::EnterCriticalSection )
32 #pragma inline ( TThreadManager::ExitCriticalSection )
int BOOL
Boolean datatype definition.
Definition: Defines.h:124
long I32
2s Compliment 32-Bit signed integer datatype defenition
Definition: Defines.h:206
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
unsigned long U32
Binary 32-Bit unsigned integer datatype defenition.
Definition: Defines.h:203
BOOL ThreadSwitch()
Definition: Thread_Manager.cpp:39
VOID ThreadManagerInterrupt()
VOID * ThreadManagerStack
TThreadManager ThreadManager
VOID ThreadActivate()
Definition: Thread_Manager.cpp:136
Definition: Circular_List.h:17
Definition: Thread_Manager.h:44
U32 RealtimeThreadTimerPrescaler
Definition: Thread_Manager.h:65
VOID Run()
Definition: Thread_Manager.cpp:314
~TThreadManager()
Definition: Thread_Manager.cpp:218
VOID Create(TThread *Thread)
Definition: Thread_Manager.cpp:356
VOID EnterCriticalSection()
Definition: Thread_Manager.cpp:480
BOOL SetSwitchTime(DOUBLE ThreadTime)
Definition: Thread_Manager.cpp:261
DOUBLE Resolution
Definition: Thread_Manager.h:63
VOID ExitCriticalSection()
Definition: Thread_Manager.cpp:495
TThread * ActiveThread
Definition: Thread_Manager.h:59
TThreadManager()
Definition: Thread_Manager.cpp:182
VOID Stop()
Definition: Thread_Manager.cpp:331
U32 CriticalSectionsCounter
Definition: Thread_Manager.h:70
I32 GetThreadCount()
Definition: Thread_Manager.cpp:344
U32 LowPriorityThreadTimerPrescaler
Definition: Thread_Manager.h:68
TCircularList * Storage
Definition: Thread_Manager.h:58
DOUBLE NormalizedResolution
Definition: Thread_Manager.h:64
U32 IdleThreadTimerPrescaler
Definition: Thread_Manager.h:69
U32 HighPriorityThreadTimerPrescaler
Definition: Thread_Manager.h:66
VOID Initialize(DOUBLE ClockFrequency)
Definition: Thread_Manager.cpp:238
U32 NormalPriorityThreadTimerPrescaler
Definition: Thread_Manager.h:67
VOID SwitchImmediate()
Definition: Thread_Manager.cpp:510
VOID Destroy(TThread *Thread)
Definition: Thread_Manager.cpp:433