OpendTect
7.0
|
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class. More...
Public Types | |
enum | Type { BigWork , SmallWork , MultiRead } |
Public Member Functions | |
Lock (bool for_just_a_few_operations=false) | |
Lock (const Lock &) | |
Lock (Type) | |
virtual | ~Lock () |
bool | isMutex () const |
bool | isRWLock () const |
bool | isSpinLock () const |
Mutex & | mutex () |
Lock & | operator= (const Lock &) |
ReadWriteLock & | readWriteLock () |
SpinLock & | spinLock () |
Protected Attributes | |
Mutex * | mutex_ |
ReadWriteLock * | rwlock_ |
SpinLock * | splock_ |
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class.
<>
enum Threads::Lock::Type |
Threads::Lock::Lock | ( | bool | for_just_a_few_operations = false | ) |
Threads::Lock::Lock | ( | Type | ) |
Threads::Lock::Lock | ( | const Lock & | ) |
|
virtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024