H3D::SimpleThread Class Reference

The SimpleThread class creates a new thread to run a function. More...

#include <Threads.h>

Inheritance diagram for H3D::SimpleThread:

Inheritance graph
List of all members.

Public Member Functions

 SimpleThread (void *(func)(void *), void *args=NULL, int thread_priority=DEFAULT_THREAD_PRIORITY)
 Constructor.
virtual ~SimpleThread ()
 Destructor.

Detailed Description

The SimpleThread class creates a new thread to run a function.

The thread is run until the function returns.


Constructor & Destructor Documentation

SimpleThread::SimpleThread void *  (func)(void *),
void *  args = NULL,
int  thread_priority = DEFAULT_THREAD_PRIORITY
 

Constructor.

Parameters:
thread_priority The priority of the thread.
func The function to run in the thread.


Generated on Thu Aug 24 12:40:10 2006 for H3D API by  doxygen 1.4.5