tac0S
Template Affectional Command Operating System
|
Public Member Functions | |
UserThreadData (unsigned int ID, void *UT) | |
UserThreadData::UserThreadData Constructor for UserThreadData. More... | |
~UserThreadData () | |
UserThreadData::~UserThreadData Destructor for UserThreadData. | |
void | setReturn (void *ret) |
UserThreadData::setReturn Set a return adress for the thread. More... | |
void | setEnd () |
UserThreadData::setEnd Indicate that the thread is over. | |
void | P () |
UserThreadData::P Take a token. | |
void | V () |
UserThreadData::V put a token. | |
bool | isEnded () |
UserThreadData::isEnded Boolean function information. More... | |
unsigned int | getID () |
UserThreadData::getID get the thread ID. More... | |
void * | getReturnValue () |
UserThreadData::getReturnValue get the adress of the returned object of the thread. More... | |
void * | getUserThread () |
UserThreadData::getUserThread() Get the userThread pointer. More... | |
UserThreadData::UserThreadData | ( | unsigned int | tid, |
void * | UT | ||
) |
UserThreadData::UserThreadData Constructor for UserThreadData.
tid | Unsigned int id of the thread |
UT | Adress of the UserThread |
unsigned int UserThreadData::getID | ( | ) |
UserThreadData::getID get the thread ID.
void * UserThreadData::getReturnValue | ( | ) |
UserThreadData::getReturnValue get the adress of the returned object of the thread.
void * UserThreadData::getUserThread | ( | ) |
UserThreadData::getUserThread() Get the userThread pointer.
bool UserThreadData::isEnded | ( | ) |
UserThreadData::isEnded Boolean function information.
void UserThreadData::setReturn | ( | void * | ret | ) |
UserThreadData::setReturn Set a return adress for the thread.
ret |