mpl
mpl copied to clipboard
Make basis library thread-safe
The basis library has a few parts that are written with a sequential implementation in mind. This issue is to collect and track these parts of the basis and efforts to fix them.
- [ ] Int.toString
- [ ] Random
- [ ] Readl.fromLargeInt (and possibly other Real.from* functions)
Most of these issues can be fixed with a SML-level thread local storage. Perhaps this can be rolled into the One
structure that most of these functions already use to protect against signal handlers.