threads-mojo
Minimal pthreads for Mojo: spawn/join, atomics, a mutex, parallel_for, and a WorkerPool (typed or untyped)
by winding-lines โ https://github.com/magmalake/threads.mojo.git
magmalakethreadspthreadsconcurrencyparallelatomicsworker-pool
โญ 0 ยท last commit 3d ago ยท 25 commits last month ยท 25 last year
โ consumer smoke build passed with mojo-compiler 1.0.0 โ checked 2d ago โ run log
โ mojo nightly build passing with mojo-compiler 1.0.0 โ checked 2d ago โ run log
Install โ pick one
the pixi shelf and shelf options need the
shelf extension installed once:
pixi global install --channel https://mojoshelf.org/channel mojoshelf
pixi mode: a registry-pinned git source dependency
pixi shelf add threads-mojo
the same, with plain pixi (no shelf extension needed)
pixi add --git https://github.com/magmalake/threads.mojo.git \
--rev 267a0d0d85400f67a59ce742ea7624894cce64f4 threads-mojo
submodule mode: pinned source under shelf/threads-mojo
shelf add threads-mojo
Badge
for this tin's README โ stable verification, and optionally the nightly signal
[](https://mojoshelf.org/tins/threads-mojo)
[](https://mojoshelf.org/tins/threads-mojo)
Depends on
None.
Depended on by
Versions
| version | commit | published | dependencies |
|---|---|---|---|
| 0.5.1 | 267a0d0d8540 | 2026-09-08T18:00:37Z | โ |
| 0.5.0 | 96c874a79aa2 | 2026-09-08T13:44:08Z | โ |
| 0.4.0 | 772dd842d422 | 2026-09-03T22:10:41Z | โ |
| 0.3.0 | 1133606d6de0 | 2026-09-03T12:59:52Z | โ |
| 0.2.2 | afa64b0e9ebf | 2026-09-03T12:05:02Z | โ |
| 0.2.1 | d1898ae5089f | 2026-09-03T12:01:44Z | โ |
| 0.2.0 | d05cbff21e25 | 2026-09-01T13:59:11Z | โ |
| 0.1.0 | f455f0ae3c2c | 2026-08-30T19:42:33Z | โ |