Rewrite `ThreadPoolWrapper` to use atomic pointer
Abierto
enhancement
- Lenguaje dominante
- Rust
- Estrellas
- 250
- Forks
- 65
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.