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 126 of file kshareddatacache_p.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 129 of file kshareddatacache_p.h.
Member Function Documentation
Reimplemented from KSDCLock.
Definition at line 134 of file kshareddatacache_p.h.
|
inlinevirtual |
Reimplemented from KSDCLock.
Definition at line 142 of file kshareddatacache_p.h.
|
inlinevirtual |
Reimplemented from KSDCLock.
Definition at line 159 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-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.