是否有无锁向量实现? [英] Is there a lock-free vector implementation?

查看:164
本文介绍了是否有无锁向量实现?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google的锁定免费载体的第一个结果是由Damian Dechev,Peter Pirkelbauer和Bjarne Stroustrup撰写的研究论文描述了一个理论上的无锁向量。

First result in Google for "lock free vector" is a research paper cowritten by Damian Dechev, Peter Pirkelbauer and Bjarne Stroustrup describing a theoretical lock-free vector. Has this, or any other lock-free vector, been implemented?

推荐答案

MS提供ppl :: concurrent_vector和Intel提供的tbb: :concurrent_vector。在Windows上,至少ppl和tbb是C-Runtime的一部分。

MS provides ppl::concurrent_vector and Intel provides tbb::concurrent_vector. On Windows at least ppl and tbb are part of the C-Runtime.

这篇关于是否有无锁向量实现?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆