|
NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
信号量支持 更多...
类 | |
| class | atomic_semaphore< LeastMaxValue > |
| 原子信号量类模板 更多... | |
| class | semaphore |
| 系统信号量类 更多... | |
类型定义 | |
| using | binary_semaphore = atomic_semaphore<1> |
| 二元信号量 | |
信号量支持
此文件提供了信号量的实现,用于控制对共享资源的并发访问。 包含两种信号量类型:
在文件 semaphore.hpp 中定义.