OpenThreads
|
Classes | |
class | Atomic |
This class provides an atomic increment and decrement operation. More... | |
class | AtomicPtr |
This class provides an atomic pointer assignment using cas operations. More... | |
class | Barrier |
This class provides an object-oriented thread barrier interface. More... | |
class | Block |
Block is a block that can be used to halt a thread that is waiting another thread to release it. More... | |
class | BlockCount |
BlockCount is a block that can be used to halt a thread that is waiting for a specified number of operations to be completed. More... | |
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 | ReentrantMutex |
class | ReverseScopedLock |
class | ReverseScopedPointerLock |
class | ScopedLock |
class | ScopedPointerLock |
class | ScopedReadLock |
class | ScopedWriteLock |
class | Thread |
This class provides an object-oriented thread interface. More... | |
Functions | |
OPENTHREAD_EXPORT_DIRECTIVE int | GetNumberOfProcessors () |
Get the number of processors. More... | |
OPENTHREAD_EXPORT_DIRECTIVE int | SetProcessorAffinityOfCurrentThread (unsigned int cpunum) |
Set the processor affinity of current thread. More... | |
OPENTHREAD_EXPORT_DIRECTIVE int OpenThreads::GetNumberOfProcessors | ( | ) |
Get the number of processors.
Note, systems where no support exists for querying 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 at Wed Nov 11 2015 22:28:36 for the OpenThreads by doxygen 1.8.10. |