百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

crossbeam

> 编程语言
开源

Rust中同时编程的工具

8.5K stars0 点赞3 次浏览
访问官网GitHub

工具介绍

Rust中同时编程的工具

横梁 这个箱子提供了一套同时编程的工具:

原子

  • [`AtomicCell'],一个线性安全可变记忆位置。(no std)
  • [`Atomic Consume'],用于从原始原子类型读取有"Consume"顺序.(no std)

数据结构

  • [`deque'],用于建造任务排程器的工作 -- -- 偷盗。

  • ['ArrayQueue'],在构造上分配固定容量缓冲的MPMC队列.(alloc)

  • ['SegQueue'],一个没有限制的MPMC队列,根据需要分配出小缓冲,分块.(alloc)

  • 内存管理

  • [`划时代'],一个划时代的垃圾收集器。(alloc)

QQ 线程同步

  • [ " 渠道 " 、多生产者多消费者传递信息的渠道。
  • [`Parker'],一种线状停车原始物。
  • [`ShardedLock'],一个有快速同步读取功能的被硬化的读者写作机锁。
  • [`等小组'],用于同步某些计算的开始或结束。

水电费

  • [`Backoff'],用于自旋回旋回转中的指数回转。(no std)

  • [“缓存添加”],用于将一个值与缓存行长度相匹配。(no std)

  • [`范围'],用于从堆栈中取出局部变量的产卵线.

  • 标记为 " sup " (no std) 的形状可用于 " no std " 环境。

  • 标记为 " sup " (alloc) </sup " 的特性可在 " no std " 环境中使用,但只有在 " alloc " 时使用。 特性已启用。 *

[AtomicCell'):https://docs.rs/crossbeam/latest/crossbeam/atomic/struct.AtomicCell.html [大气层 ' :https://docs.rs/crossbeam/latest/crossbeam/atomic/trait.AtomicConsume.html [deque']:https://docs.rs/crossbeam/latest/crossbeam/deque/index.html [武器库 ' :https://docs.rs/crossbeam/latest/crossbeam/queue/struct.ArrayQueue.html [队列'):https://docs.rs/crossbeam/latest/crossbeam/queue/struct.SegQueue.html [渠道']:https://docs.rs/crossbeam/latest/crossbeam/channel/index.html [帕克 ' :https://docs.rs/crossbeam/latest/crossbeam/sync/struct.Parker.html] [硬锁 ' :https://docs.rs/crossbeam/latest/crossbeam/sync/struct.ShardedLock.html [ " 等待小组 " :https://docs.rs/crossbeam/latest/crossbeam/sync/struct.WaitGroup.htm

Issues· 163 开放

查看全部 Issues在 GitHub 打开
  • #503

    发布版本 1.0

    更新于 2026年9月7日
  • #1282

    ci: 通过修复不稳定的测试重新启用 armv5te

    更新于 2026年9月5日
  • #1303

    用于跳表的 &mut self API

    更新于 2026年8月6日
  • #821

    crossbeam-channel 使用纯用户空间的自旋锁,在某些情况下性能非常差

    crossbeam-channel更新于 2026年7月12日
  • #1253

    关于 `T: Send` 不需要用于 `Guard::defer_destroy` 的文档示例不适用于该函数

    更新于 2026年5月5日
  • #1249

    高效的 `SkipList::range().count()`

    featurecrossbeam-skiplist更新于 2026年4月20日
  • #1228

    在 SegQueue 上实现 Drain 是否有意义

    featurecrossbeam-queue更新于 2026年3月12日
  • #675

    文档表明 SegQueue 并非完全无锁

    docscrossbeam-queue更新于 2026年3月5日
  • #720

    无法设置 deque 的最大容量大小

    questioncrossbeam-deque更新于 2026年2月21日
  • #812

    为 crossbeam-deque 提供示例

    crossbeam-dequedocs更新于 2026年2月21日

> 标签

Rustconcurrencydata-structureslock-freeparallelism

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月30日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言