Lock-Free Atomic Shared Pointers Without a Split Reference Count? It Can Be Done!
                
  
              5.12 MB
             
              45 页
               
              0 评论
              
| 语言 | 格式 | 评分 | 
|---|---|---|
英语  | .pptx  | 3  | 
| 摘要 | ||
The document discusses the implementation of lock-free atomic shared pointers without a split reference count, exploring how existing atomic/shared_ptr is implemented using the split reference count technique. It covers concurrency patterns, deferred reclamation (garbage collection in C++), and benchmarks for lock-free code, considering factors like throughput, latency, workload, data locality, and contention. A lock-free stack implementation is demonstrated using atomic/shared_ptr, and the challenges of concurrent operations on shared pointers are addressed through a split reference count approach.  | ||
| AI总结 | ||
《无需分离引用计数的无锁原子共享指针?完全可行!》  
作者:丹尼尔·安德森(Daniel Anderson)  
### 总结  
本文介绍了如何在无锁环境中实现原子共享指针(`atomic  | ||
 P1 
 P2 
 P3 
 P4 
 P5 
 P6 
 P7 
 P8 
 P9 
 P10 
 P11 
 P12 
下载文档到本地,方便使用
    
                - 可预览页数已用完,剩余
                33 页请下载阅读 -
              
文档评分 
  













          Building a Coroutine-Based Job System Without Standard Library