UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Containers
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes

Unigine::ScopedReaderLock Class

Header: #include <UnigineThread.h>

This class implements a reader lock operating on a read-write mutex. The scoped part shall be locked for reading. No writing can be done in the meantime, but other threads are able to read as well.

ScopedReaderLock Class

Members


static ScopedReaderLockPtr create ( RWMutex & l ) #

Constructs a scoped reader lock for the specified synchronization object (read-write mutex).

Arguments

  • RWMutex & l - Synchronization object (RWMutex).
Last update: 2020-04-21