magmalake / threads.example
Companion code for the magmalake post on writing multithreaded code in Mojo 1.0 — one file, built against threads-mojo from mojoshelf
Over time
2026-09-03 to 2026-11-15; peak 439 lines
2026-09-03 to 2026-11-15; 12 commits, counted up by commit date
- Opened 14
- Closed or merged 14
2026-09-03 to 2026-11-21; 14 issues and pull requests opened (0 issues, 14 pull requests), from GitHub by mojo_issues
Dependencies
Depends on magmalake/lint.mojo, magmalake/threads.mojo.
Declared in its manifests at HEAD (toolchain left out): lint-mojo, threads-mojo.
Similar repos
| Repo | Description | Similarity |
|---|---|---|
| magmalake/threads.mojo | Minimal pthreads for Mojo — spawn/join/pin, parallel_for, atomic flags — extracted from flare's runtime | 84% |
| magmalake/lint.mojo | mojolint — a linter for the origin and threading mistakes the Mojo compiler lets through, with mojo-lsp-server behind the rules | 81% |
| magmalake/process.mojo | – | 80% |
| magmalake/restate.mojo | Durable execution flows in Mojo via Restate: Rust SDK event loop and journal behind a C-ABI shim, business logic in Mojo, served on one thread or N | 78% |
| magmalake/thrift.mojo | Pure-Mojo Apache Thrift compact/binary protocol runtime — the codec Parquet metadata needs | 78% |
By the cosine of the embeddings of each repo's name, description and topics: bge-small-en-v1.5 at bbddccb7, from snapshot 3454761910736014829 of mojo.repo_embeddings, which mojo_embed writes.
Stars per month
- stars
- forks
1 stars over the months of GH Archive loaded so far (47; months in between aren't loaded yet), counted from its events.
Contributors per month
- contributors
- new
2 people authored or co-authored its commits (every commit reachable from HEAD, Co-authored-by trailers included, bots left out), counted by email.
Releases and tags
No published release in the GH Archive days loaded, and no git tag in the clone.
Issues and pull requests
0 open and 0 closed issues; 0 open, 14 merged and 0 closed pull requests, from GitHub by mojo_issues.
Pull requests
| # | Title | Opened | State | Comments |
|---|---|---|---|---|
| 14 | CI: customs v0.5.0 | 2026-11-21 | merged | 0 |
| 13 | customs v0.4.0: no unused imports | 2026-11-18 | merged | 0 |
| 12 | ci: customs from magmalake/[email protected] | 2026-11-16 | merged | 0 |
| 11 | ci: customs from magmalake/[email protected] | 2026-11-15 | merged | 0 |
| 10 | CI: check imports with customs | 2026-11-15 | merged | 0 |
| 9 | check.sh: hold ThreadSanitizer to a per-file verdict | 2026-09-04 | merged | 0 |
| 8 | Pin lint-mojo 0.1.2 (portable mojolint binary) | 2026-09-04 | merged | 0 |
| 7 | CI: lint with mojolint | 2026-09-03 | merged | 0 |
| 6 | CI: setup-pixi v0.10.2, pixi v0.78.0 | 2026-09-03 | merged | 0 |
| 5 | origins.mojo on threads-mojo 0.3.0: the state by ref, the task by mut | 2026-09-03 | merged | 0 |
Migrations
| Date | What | From | To | Commit |
|---|---|---|---|---|
| 2026-09-03 | mojo_version | – | 1.0.0 | d4ae536496 |
| 2026-09-03 | tooling | none | pixi | d4ae536496 |
Commits
Commit types: Mojo version 8% · Merge 83% · Other 8%
| Date | Commit | Type | Subject | Lines of Mojo | Tooling | Mojo version |
|---|---|---|---|---|---|---|
| 2026-11-15 | 342673ce80 | Merge | Merge pull request #11 from magmalake/customs-magmalake | 394 | pixi | 1.0.0 |
| 2026-11-15 | fb083edb13 | Merge | Merge pull request #10 from magmalake/customs | 394 | pixi | 1.0.0 |
| 2026-09-04 | 9338f44fd1 | Merge | Merge pull request #9 from magmalake/tsan | 394 | pixi | 1.0.0 |
| 2026-09-04 | 701d2bccb8 | Merge | Merge pull request #8 from magmalake/deprecations | 370 | pixi | 1.0.0 |
| 2026-09-04 | 8d683f96f9 | Merge | Merge pull request #7 from magmalake/ci-lint | 370 | pixi | 1.0.0 |
| 2026-09-03 | 97b610aa64 | Merge | Merge pull request #5 from magmalake/typed | 370 | pixi | 1.0.0 |
| 2026-09-03 | 3fcdc49995 | Merge | Merge pull request #6 from magmalake/ci-pixi-0.78 | 439 | pixi | 1.0.0 |
| 2026-09-03 | 1d7d304f3c | Merge | Merge pull request #4 from magmalake/owned-and-race | 439 | pixi | 1.0.0 |
| 2026-09-03 | 5197c9f60e | Merge | Merge pull request #3 from magmalake/origins | 372 | pixi | 1.0.0 |
| 2026-09-03 | 8d200a59d8 | Merge | Merge pull request #1 from magmalake/origins | 169 | pixi | 1.0.0 |
| 2026-09-03 | 0cdfe36118 | Other | threads-mojo 0.2.2: a warning-free install | 73 | pixi | 1.0.0 |
| 2026-09-03 | d4ae536496 | Mojo version | The whole program from the multithreading post | 73 | pixi | 1.0.0 |