kdevplatform/language/backgroundparser
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()
|
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:
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
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.