C++并发数据结构算法库 CDS

码农软件 · 软件分类 · 并发/并行处理框架 · 2019-09-03 09:57:47

软件介绍

CDS是一个 C++ 模板库,包含 lock-free and fine-grained 算法。

包含一系列并发数据结构的实现:

  • 顺序支持的原子操作
  • SMR算法
  • 数据结构:
    • 队列: Michael & Scott lock-free 和 read/write lock-based, Moir et al algo, Ladan-Mozes & Shavit optimistic queue, bounded (ring-buffered) algos
    • 有序列表: Michael's algo, Lazy list algo
    • 图: Michael hash-map, Split-ordere list by Ori Shalev & Nir Shavit
  • 同步-lock with different back-off technique
  • new in 0.8.0 Michael's memory allocator. 参见 cds::memory::michael::Heap 

CDS大部分是 header-only,少数算法和数据结构在DLL(SO)库中,详情参见文档。

支持的编译平台有:

  • MS Visual Studio 2008 + for MS Windows x86 32/64bit
  • GCC 4.3 +
    • Linux: x86 (32bit), amd64 (64bit), IA64 Itanium (64bit)
    • Solaris: Sparc 64bit
    • HP-UX: IA64 64bit
    • new in 0.8.0 FreeBSD: x86 (32bit), amd64 (64bit)

本文地址:https://codercto.com/soft/d/13772.html

The Little Typer

The Little Typer

Daniel P. Friedman、David Thrane Christiansen、Duane Bibby、Robert Harper、Conor Mcbride / MIT Press / 2018-10-16 / GBP 30.00

An introduction to dependent types, demonstrating the most beautiful aspects, one step at a time. A program's type describes its behavior. Dependent types are a first-class part of a language, and are......一起来看看 《The Little Typer》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具