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

KDECore

Public Member Functions
simpleSpinLock Class Reference

#include <kshareddatacache_p.h>

Inheritance diagram for simpleSpinLock:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 simpleSpinLock (QBasicAtomicInt &spinlock)
virtual bool initialize (bool &processSharingSupported)
virtual bool lock ()
virtual void unlock ()

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

simpleSpinLock::simpleSpinLock ( QBasicAtomicInt &  spinlock) [inline]

Definition at line 129 of file kshareddatacache_p.h.


Member Function Documentation

virtual bool simpleSpinLock::initialize ( bool &  processSharingSupported) [inline, virtual]

Reimplemented from KSDCLock.

Definition at line 134 of file kshareddatacache_p.h.

virtual bool simpleSpinLock::lock ( ) [inline, virtual]

Reimplemented from KSDCLock.

Definition at line 142 of file kshareddatacache_p.h.

virtual void simpleSpinLock::unlock ( ) [inline, virtual]

Reimplemented from KSDCLock.

Definition at line 159 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-2019 The KDE developers.
Generated on Mon Jan 21 2019 12:28:30 by doxygen 1.7.5.1 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-4.9.5 API Reference

Skip menu "kdelibs-4.9.5 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
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