Writing multithreaded code today

As some members of the Modular team have said you can write multithreaded code today in Mojo. I wanted to see how good/bad the code would be. I think the result is very reasonable and I will be writing multithreaded code with this approach until more support is added to the compiler.

Writing ergonomic multithreaded code in Mojo 1.0, 1.0, 1.0, … — magmalake

Based on feedback on Discord I leaned more on Origins. The newer version is much cleaner, it is described here: Multithreading with origins in Mojo 1.0 — magmalake