tac0S
Template Affectional Command Operating System
Public Member Functions | Public Attributes | List of all members
ManagerUserThreadID Class Reference

Public Member Functions

 ManagerUserThreadID ()
 ManagerUserThreadID::ManagerUserThreadID() Constructor for the ManagerThreadId The main thread id is 0, else it begin at 1.
 
 ~ManagerUserThreadID ()
 ManagerUserThreadID::~ManagerUserThreadID delete the class.
 
unsigned int GetNewId ()
 ManagerUserThreadID::GetNewId Return a ID for a new thread The Id may be re-use. More...
 
void addIdFreed (unsigned int ID)
 ManagerUserThreadID::addIdFreed The TID is'nt currently used, get back to the pool. More...
 
bool lastAlive ()
 ManagerUserThreadID::lastAlive return true if it's the las thread running (for doing an halt) More...
 

Public Attributes

unsigned int stillAlive
 

Member Function Documentation

void ManagerUserThreadID::addIdFreed ( unsigned int  ID)

ManagerUserThreadID::addIdFreed The TID is'nt currently used, get back to the pool.

Parameters
IDunsigned int
unsigned int ManagerUserThreadID::GetNewId ( )

ManagerUserThreadID::GetNewId Return a ID for a new thread The Id may be re-use.

Returns
unsigned int TID
bool ManagerUserThreadID::lastAlive ( )

ManagerUserThreadID::lastAlive return true if it's the las thread running (for doing an halt)

Returns
Bool a boolean

The documentation for this class was generated from the following files: