MSTL 1.4.0
A Modern C++ Library with extended functionality, web components, and utility libraries
载入中...
搜索中...
未找到
semaphore.hpp 文件参考

MSTL信号量支持 更多...

semaphore.hpp 的引用(Include)关系图:

浏览该文件的源代码.

class  counting_semaphore< LeastMaxValue >
 计数信号量类模板 更多...

类型定义

using binary_semaphore = counting_semaphore<1>
 二元信号量

详细描述

MSTL信号量支持

此文件提供了信号量的实现,用于控制对共享资源的并发访问。

在文件 semaphore.hpp 中定义.