![]() |
OpendTect
6.3
|
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... | |
Typedefs | |
| typedef void * | Threads::ThreadID |
Functions | |
| int | Threads::getSystemNrProcessors () |
| int | Threads::getNrProcessors () |
| ThreadID | 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. 2017