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

[![mojoshelf](https://mojoshelf.org/badge/threads-mojo.svg)](https://mojoshelf.org/tins/threads-mojo)
[![mojo nightly](https://mojoshelf.org/badge/threads-mojo/nightly.svg)](https://mojoshelf.org/tins/threads-mojo)

Depends on

None.

Depended on by

Versions

versioncommitpublisheddependencies
0.5.1267a0d0d85402026-09-08T18:00:37Zโ€”
0.5.096c874a79aa22026-09-08T13:44:08Zโ€”
0.4.0772dd842d4222026-09-03T22:10:41Zโ€”
0.3.01133606d6de02026-09-03T12:59:52Zโ€”
0.2.2afa64b0e9ebf2026-09-03T12:05:02Zโ€”
0.2.1d1898ae5089f2026-09-03T12:01:44Zโ€”
0.2.0d05cbff21e252026-09-01T13:59:11Zโ€”
0.1.0f455f0ae3c2c2026-08-30T19:42:33Zโ€”