• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDECore

Public Member Functions | List of all members
simpleSpinLock Class Reference

#include <kshareddatacache_p.h>

Inheritance diagram for simpleSpinLock:
Inheritance graph
[legend]

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

simpleSpinLock::simpleSpinLock ( QBasicAtomicInt &  spinlock)
inline

Definition at line 133 of file kshareddatacache_p.h.

Member Function Documentation

virtual bool simpleSpinLock::initialize ( bool &  processSharingSupported)
inlinevirtual

Reimplemented from KSDCLock.

Definition at line 138 of file kshareddatacache_p.h.

virtual bool simpleSpinLock::lock ( )
inlinevirtual

Reimplemented from KSDCLock.

Definition at line 146 of file kshareddatacache_p.h.

virtual void simpleSpinLock::unlock ( )
inlinevirtual

Reimplemented from KSDCLock.

Definition at line 163 of file kshareddatacache_p.h.


The documentation for this class was generated from the following file:
  • kshareddatacache_p.h
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

KDE's Doxygen guidelines are available online.

KDECore

Skip menu "KDECore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal