UnigineEditor
界面概述
资产工作流程
设置和首选项
项目开发
调整节点参数
Setting Up Materials
Setting Up Properties
照明
Landscape Tool
Sandworm (Experimental)
使用编辑器工具执行特定任务
Extending Editor Functionality
嵌入式节点类型
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Objects
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
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