OpendTect-6_4  6.4
Classes | Namespaces | Macros | Functions
thread.h File Reference
Include dependency graph for thread.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Threads::Mutex
 Is a lock that allows a thread to have exlusive rights to something. More...
 
class  Threads::ConditionVar
 Is an object that faciliates many threads to wait for something to happen. More...
 
class  Threads::ReadWriteLock
 Lock that permits multiple readers to lock the object at the same time, but it will not allow any readers when writelocked, and no writelock is allowed when readlocked. More...
 
class  Threads::MutexLocker
 
class  Threads::ReadLockLocker
 
class  Threads::WriteLockLocker
 
class  Threads::Barrier
 Waits for a number of threads to reach a certain point (i.e. the call to Barrier::waitForAll). Once everyone has arrived, everyone is released. More...
 
class  Threads::Thread
 Is the base class for all threads. Start it by creating it and give it the function or CallBack to execute. More...
 

Namespaces

 Threads
 interface to threads that should be portable.
 

Macros

#define mLockerClassImpl(mod, clssnm, clss, lockfn, unlockfn, trylockfn)
 Is an object that is convenient to use when a mutex should be locked and unlocked automatically when returning. More...
 

Functions

int Threads::getSystemNrProcessors ()
 
int Threads::getNrProcessors ()
 
const void * Threads::currentThread ()
 
void Threads::setCurrentThreadProcessorAffinity (int cpu)
 
void Threads::sleep (double seconds)
 

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019