KDECore
simpleSpinLock Class Reference
#include <kshareddatacache_p.h>
Inheritance diagram for simpleSpinLock:
Public Member Functions | |
simpleSpinLock (QBasicAtomicInt &spinlock) | |
virtual bool | initialize (bool &processSharingSupported) |
virtual bool | lock () |
virtual void | unlock () |
Public Member Functions inherited from KSDCLock | |
virtual | ~KSDCLock () |
Detailed Description
This is a very basic lock that should work on any system where GCC atomic intrinsics are supported.
It can waste CPU so better primitives should be used if available on the system.
Definition at line 130 of file kshareddatacache_p.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 133 of file kshareddatacache_p.h.
Member Function Documentation
Reimplemented from KSDCLock.
Definition at line 138 of file kshareddatacache_p.h.
|
inlinevirtual |
Reimplemented from KSDCLock.
Definition at line 146 of file kshareddatacache_p.h.
|
inlinevirtual |
Reimplemented from KSDCLock.
Definition at line 163 of file kshareddatacache_p.h.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:13 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:13 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.