Rewrite `ThreadPoolWrapper` to use atomic pointer
未关闭
enhancement
- 主要语言
- Rust
- 星标
- 250
- 派生
- 65
- PR 合并指标
- 30 天内没有已合并 PR
描述
There seems to be no need to have a lock around an option wrapping an `Arc` - since we have an (allocated) `Arc`, we can just use its raw pointer for `AtomicPtr`, and swap it out whenever the pool should be changed.
cc @AndreaCatania
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。