您当前的位置: 首页 >  c++
  • 0浏览

    0关注

    1477博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

C++ tbb::concurrent_hash_map怎么用

软件工程小施同学 发布时间:2021-10-19 13:56:25 ,浏览量:0

Intel TBB 提供高并发的容器类,Windows或者Linux线程能使用这些容器类或者和基于task编程相结合(TBB)。

concurrent_hash_map是一个hash表,允许并行访问,表是一个从Key到类型T的映射,类型HashCompare定义怎样hash一个Key和怎样比较2个Key。

concurrent_hash_map is a class template for an unordered associative container that holds key-value pairs with unique keys and supports concurrent insertion, lookup, and erasure.

文档 concurrent_hash_map — oneAPI Specification 1.0-rev-3 documentation

关注
打赏
1665320866
查看更多评论
立即登录/注册

微信扫码登录

0.0441s