docs: rebuild Threading API content
This commit is contained in:
26
docs/api/XCEngine/Threading/Mutex/Unlock.md
Normal file
26
docs/api/XCEngine/Threading/Mutex/Unlock.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# Mutex::Unlock
|
||||
|
||||
释放互斥锁。
|
||||
|
||||
```cpp
|
||||
void Unlock();
|
||||
void unlock() const;
|
||||
```
|
||||
|
||||
## 行为说明
|
||||
|
||||
当前实现有两套入口:
|
||||
|
||||
- `Unlock()`:引擎风格命名。
|
||||
- `unlock()`:标准 Lockable 风格别名。
|
||||
|
||||
两者都直接转发到底层 `std::mutex::unlock()`。
|
||||
|
||||
## 返回值
|
||||
|
||||
- 无。
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [返回类型总览](Mutex.md)
|
||||
- [Lock](Lock.md)
|
||||
Reference in New Issue
Block a user