Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
VThreadBody::VThreadBody(VThread *,unsigned int,BooleanT)
VThreadBody::~VThreadBody(void)
VThreadBody::Execute(void)
VThreadBody::VThreadDeleted(void)
VThreadBody::Startup(void)
VThreadBody::SetPriority(int)
VThreadBody::GetID(void)
VThreadBody::Pause(void)
VThreadBody::Continue(void)
VThreadBody::Yield(void)
VThreadBody
 
Thread body for ix86 linux.
 
include "amma/Thread/linux_VThreadBody.hh"
User Level:Default
Library:VThread_linux
Example:ex3DCanvas.cc
Section:Utilities.Threads
In Scope:std

Comments:
NB. This is file is machine dependant. Supports i386 linux

Variables:
VThread * Interface;

pthread_t ThreadData;

int ID;

int IDAlloc;

BooleanT Started;

unsigned int StackSize;

BooleanT Bind;

Methods:
VThreadBody(VThread * nInterface,unsigned int MinStackSize = 16000,BooleanT Bind = FALSE)

~VThreadBody()
Destructor.

BooleanT Execute(void)
Start execution of thread.

void VThreadDeleted(void)
Destroy thread.

void Startup(void)
First routine called by new thread.

BooleanT SetPriority(int Pri)
Set priority of thread.

int GetID(void)
Get thread ID.

BooleanT Pause(void)
Stop thread running.

BooleanT Continue(void)
Continue thread running again.

void Yield()
Yield control of processor.


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001