ConOpSys V2970  P004.07
ANVILEX control operating system
Classes | Macros | Functions | Variables
Thread_Manager.h File Reference
#include "Define.h"
#include "Circular_List.h"
#include "Thread.h"
Include dependency graph for Thread_Manager.h:

Go to the source code of this file.

Classes

class  TThreadManager
 

Macros

#define THREADMANAGER_REALTIME_FACTOR   1.00
 
#define THREADMANAGER_HIGH_PRIORITY_FACTOR   0.80
 
#define THREADMANAGER_NORMAL_PRIORITY_FACTOR   0.60
 
#define THREADMANAGER_LOW_PRIORITY_FACTOR   0.40
 
#define THREADMANAGER_IDLE_FACTOR   0.20
 

Functions

BOOL ThreadSwitch ()
 
VOID ThreadActivate ()
 
VOID ThreadManagerInterrupt ()
 

Variables

TThreadManager ThreadManager
 
VOIDThreadManagerStack
 

Macro Definition Documentation

◆ THREADMANAGER_HIGH_PRIORITY_FACTOR

#define THREADMANAGER_HIGH_PRIORITY_FACTOR   0.80

◆ THREADMANAGER_IDLE_FACTOR

#define THREADMANAGER_IDLE_FACTOR   0.20

◆ THREADMANAGER_LOW_PRIORITY_FACTOR

#define THREADMANAGER_LOW_PRIORITY_FACTOR   0.40

◆ THREADMANAGER_NORMAL_PRIORITY_FACTOR

#define THREADMANAGER_NORMAL_PRIORITY_FACTOR   0.60

◆ THREADMANAGER_REALTIME_FACTOR

#define THREADMANAGER_REALTIME_FACTOR   1.00

Function Documentation

◆ ThreadActivate()

VOID ThreadActivate ( )

◆ ThreadManagerInterrupt()

VOID ThreadManagerInterrupt ( )

◆ ThreadSwitch()

BOOL ThreadSwitch ( )

Variable Documentation

◆ ThreadManager

TThreadManager ThreadManager
extern

Referenced by ThreadActivate(), and ThreadSwitch().

◆ ThreadManagerStack

VOID* ThreadManagerStack
extern