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

MSTL屏障实现 更多...

#include "MSTL/core/memory/unique_ptr.hpp"
#include "MSTL/core/container/array.hpp"
#include "MSTL/core/async/atomic_base.hpp"
#include "MSTL/core/async/thread.hpp"
barrier.hpp 的引用(Include)关系图:

浏览该文件的源代码.

struct  empty_completion
 空完成函数 更多...
class  tree_barrier< CmplFunc >
 树形屏障 更多...
class  barrier< CmplFunc >
 通用屏障类 更多...
class  barrier< CmplFunc >::arrival_token
 到达令牌类 更多...

详细描述

MSTL屏障实现

此文件提供了屏障的实现,用于协调多个线程的同步点。 支持树形屏障算法,提供高性能的线程同步机制。

在文件 barrier.hpp 中定义.