How should shards indicate or document MT safety with or without -Dpreview_mt?
Some likely patterns:
- Fully MT safe
- Some classes MT safe
- Only safe for use within 1
Fiber at a time by design (Array. Hash)
- Unknown
Each of the above may or may not be tested or compatible with -Dpreview_mt.
This can be stated in the documentation of each type, indicating which guarantees are made that the data structure is safe for parallel or concurrent use.
Maybe at a later point. I think first we need to get multithreading to be a fully supported feature.
Is there a list of MT issues where I can help?