Miri should support concurrency #811
Labels
A-concurrency
Area: affects our concurrency (multi-thread) support
A-interpreter
Area: affects the core interpreter
C-proposal
Category: a proposal for something we might want to do, or maybe not; details still being worked out
Miri currently does not support spawning threads. Would be nice if it did! This seems like a big project though.
Notice that this is about concurrency, not parallelism. So the Miri interpreter can remain single-threaded for this, it "just" has to support multiple interpreted threads each with their own stack, and then have a scheduler to pick which one to choose next.
Beyond the implementation effort, other issues that arise is: can we sometimes or even reliably detect UB due to data races? And how does Stacked Borrows fare with concurrency?
The text was updated successfully, but these errors were encountered: