`CoreLocal` is not interrupt safe
Open
- Dominant language
- Rust
- Stars
- 1.5k
- Forks
- 132
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 39
Description
Probably a rare edge-case, but the new `CoreLocal` design around a `Cell` is not perfectly sound, as it is possible to call `get` multiple times. This gives an opportunity for races, as accesses to the cell are not atomic and an modifications of the contained value could be interrupted.
It is probably sufficient to replace it with an interrupt safe version.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.