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

kdevplatform/language/backgroundparser

  • KDevelop
  • UrlParseLock
Public Member Functions | List of all members
KDevelop::UrlParseLock Class Reference

#include <urlparselock.h>

Public Member Functions

 UrlParseLock (const IndexedString &url)
 
 ~UrlParseLock ()
 

Detailed Description

This is used to prevent the background parser from updating the duchain for a specific file.

It can be used to prevent changes while working on the duchain.

Every language-specific parse-job has to lock this before updating a TopDUContext.

Warning
No other mutex must be locked when this lock is acquired, to prevent deadlocks

Definition at line 37 of file urlparselock.h.

Constructor & Destructor Documentation

◆ UrlParseLock()

UrlParseLock::UrlParseLock ( const IndexedString &  url)
explicit

Definition at line 56 of file urlparselock.cpp.

◆ ~UrlParseLock()

UrlParseLock::~UrlParseLock ( )

Definition at line 78 of file urlparselock.cpp.


The documentation for this class was generated from the following files:
  • urlparselock.h
  • urlparselock.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 26 2021 23:30:47 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kdevplatform/language/backgroundparser

Skip menu "kdevplatform/language/backgroundparser"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdevelop API Reference

Skip menu "kdevelop API Reference"
  • kdevplatform
  •   debugger
  •   documentation
  •   interfaces
  •   language
  •     assistant
  •     backgroundparser
  •     checks
  •     classmodel
  •     codecompletion
  •     codegen
  •     duchain
  •     editor
  •     highlighting
  •     interfaces
  •     util
  •   outputview
  •   project
  •   serialization
  •   shell
  •   sublime
  •   tests
  •   util
  •   vcs

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