|
ConOpSys V2970
P004.07
ANVILEX control operating system
|
#include <Thread.h>

Public Types | |
| enum | TThreadPriority { prIdle , prLow , prNormal , prHigh , prRealtime } |
Public Member Functions | |
| TThread (U32 ThreadStackSize, U32 ThreadInterruptLevel, TThreadPriority ThreadPriority) | |
| ~TThread () | |
| VOID | Resume () |
| VOID | Suspend () |
| VOID | Initialize () |
| virtual VOID | Thread () |
Public Attributes | |
| TThreadPriority | Priority |
| U32 | Prescaler |
| VOID * | BackupedStack |
| VOID * | Stack |
| BOOL | NeedToActivate |
| BOOL | NeedToDestroy |
Private Attributes | |
| U32 | InterruptLevel |
| VOID * | EntryPoint |
| U32 | StackSize |
| BOOL | Suspended |
| TThread::TThread | ( | U32 | ThreadStackSize, |
| U32 | ThreadInterruptLevel, | ||
| TThreadPriority | ThreadPriority | ||
| ) |
References Initialize(), InterruptLevel, Priority, Stack, StackSize, and THREAD_MIN_STACK_SIZE.

| TThread::~TThread | ( | ) |
References Stack.
| VOID TThread::Initialize | ( | ) |
References BackupedStack, NeedToActivate, NeedToDestroy, Stack, StackSize, and Suspended.
Referenced by TThreadManager::Create(), and TThread().

|
virtual |
| VOID* TThread::BackupedStack |
Referenced by TThreadManager::Create(), Initialize(), and ThreadSwitch().
|
private |
| BOOL TThread::NeedToActivate |
Referenced by TThreadManager::Create(), Initialize(), ThreadActivate(), and ThreadSwitch().
| BOOL TThread::NeedToDestroy |
Referenced by TThreadManager::Destroy(), Initialize(), ThreadActivate(), and ThreadSwitch().
| U32 TThread::Prescaler |
Referenced by TThreadManager::Create(), and ThreadSwitch().
| TThreadPriority TThread::Priority |
Referenced by TThreadManager::Create(), and TThread().
| VOID* TThread::Stack |
Referenced by Initialize(), TThread(), and ~TThread().
|
private |
Referenced by Initialize(), and TThread().
|
private |
Referenced by Initialize(), Resume(), and Suspend().