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

    0关注

    1477博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

tbb concurrent_multiset/concurrent_set unsafe_erase() 崩溃

软件工程小施同学 发布时间:2022-04-22 17:13:23 ,浏览量:0

My code is as follows, I use .begin() to get the first element in the set, and it can be obtained correctly, but using .unsafe_erase(iterator) will often crash. Of course, the first line(WriteGuard) is a write lock.

I don't know why this happens, can someone give me some suggestions, thanks in advance

可能是tbb版本太老了,换个新的,参看下面的链接 

concurrent_multiset/concurrent_set crashes when using unsafe_erase() · Issue #636 · oneapi-src/oneTBB · GitHub 

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

微信扫码登录

0.0618s