Rewrite `ThreadPoolWrapper` to use atomic pointer
Ouverte
enhancement
- Langage dominant
- Rust
- Étoiles
- 250
- Forks
- 65
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.