Class VThread Defines a simple thread class which provides means of controlling a separate thread of control in which the scheduling mechanism and priority may be specified
Class VThread Defines a simple thread class which provides means of controlling a separate thread of control in which the scheduling mechanism and priority may be specified. Other potentially operating system dependent capabilites are provided in generic fashion as deemed necessary and useful. Each instance of the class supports one thread of execution. Creating multiple threads requires creating multiple VThread objects. The following exceptions may be thrown by methods of this class: VExceptionMemory(), VThreadExceptionInvalidAttributes(), VThreadExceptionInvalidPriority()
virtual ~VThread( )
int spawn( void *(*startFunc)(void *), void *startArgs = 0, unsigned long flags = 0, unsigned long priority = VTHREAD_PRIORITY_DEFAULT, int stack_size = VTHREAD_STACK_SIZE_DEFAULT ) throw(VThreadException&)
int join( void **status = 0 )
int getPriority()
int setPriority( int priority ) throw(VThreadExceptionInvalidPriority&)
const vthread_t* getId()
const vthread_attr_t* getAttributes()
void exit()
static const vthread_t selfId()
generated by doc++