OpenThreads Namespace Reference


Classes

class  Barrier
 This class provides an object-oriented thread barrier interface. More...
class  Block
class  BlockCount
class  Condition
 This class provides an object-oriented thread condition interface. More...
class  Mutex
 This class provides an object-oriented thread mutex interface. More...
class  ReadWriteMutex
class  ScopedReadLock
class  ScopedWriteLock
class  ReentrantMutex
class  ScopedLock
class  ReverseScopedLock
class  Thread
 This class provides an object-oriented thread interface. More...

Functions

OPENTHREAD_EXPORT_DIRECTIVE int GetNumberOfProcessors ()
OPENTHREAD_EXPORT_DIRECTIVE int SetProcessorAffinityOfCurrentThread (unsigned int cpunum)


Function Documentation

OPENTHREAD_EXPORT_DIRECTIVE int OpenThreads::GetNumberOfProcessors (  ) 

Get the number of processors.

Note, systems where no support exists for querrying the number of processors, 1 is returned.

OPENTHREAD_EXPORT_DIRECTIVE int OpenThreads::SetProcessorAffinityOfCurrentThread ( unsigned int  cpunum  ) 

Set the processor affinity of current thread.

Note, systems where no support exists no affinity will be set, and -1 will be returned.


Generated on Wed Aug 13 17:03:31 2008 for openscenegraph by  doxygen 1.5.6