GClasses
GClasses::GThread Class Reference

Detailed Description

A wrapper for PThreads on Linux and for some corresponding WIN32 api on Windows.

#include <GThread.h>

Static Public Member Functions

static void sleep (unsigned int nMiliseconds)
 it may be an error to sleep more than 976ms (1,000,000 / 1024) on Unix More...
 
static THREAD_HANDLE spawnThread (unsigned int(*pFunc)(void *), void *pData)
 

Member Function Documentation

static void GClasses::GThread::sleep ( unsigned int  nMiliseconds)
static

it may be an error to sleep more than 976ms (1,000,000 / 1024) on Unix

static THREAD_HANDLE GClasses::GThread::spawnThread ( unsigned int(*)(void *)  pFunc,
void *  pData 
)
static