Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
Loading...
Searching...
No Matches
donner::svg::DocumentAccessLock Class Reference

Lightweight reader/writer gate for document access. More...

#include "donner/svg/DocumentState.h"

Public Member Functions

void lockRead ()
 Acquire shared read access.
bool tryLockRead ()
 Attempt to acquire shared read access without waiting for a writer.
void unlockRead ()
 Release shared read access.
void lockWrite () DONNER_NO_THREAD_SAFETY_ANALYSIS
 Acquire exclusive write access.
void unlockWrite () DONNER_NO_THREAD_SAFETY_ANALYSIS
 Release exclusive write access.

Detailed Description

Lightweight reader/writer gate for document access.


The documentation for this class was generated from the following file: