Mojourney

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

GitHub ↗ · first seen in GH Archive 2026-11-15 (search / language) · 394 lines of Mojo in 8 files at the last of 12 commits (2026-09-03 to 2026-11-15)

Stars1as of 2026-11-23
Forks0as of 2026-11-23
Depends on2Mojo libraries, of 2 declared
Used by0census repos that depend on it
Open issues0
Watchers0
Created2026-09-032 months ago
Lines of Mojo3948 files
Commits122026-09-03 to 2026-11-15
Contributors2commit authors, bots left out
Mojo version1.0.0from lock file
CategoryLibraries and toolsapproximate
Toolingpixi
Packagingnone
LicenseApache-2.0

Over time

  • 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

RepoDescriptionSimilarity
magmalake/threads.mojoMinimal pthreads for Mojo — spawn/join/pin, parallel_for, atomic flags — extracted from flare's runtime84%
magmalake/lint.mojomojolint — a linter for the origin and threading mistakes the Mojo compiler lets through, with mojo-lsp-server behind the rules81%
magmalake/process.mojo–80%
magmalake/restate.mojoDurable 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 N78%
magmalake/thrift.mojoPure-Mojo Apache Thrift compact/binary protocol runtime — the codec Parquet metadata needs78%

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 (WatchEvents) and forks per month in GH Archive, 2023-01 to 2026-10012023-012023-052023-092024-012024-052024-092025-012025-052025-092026-012026-052026-09
  • 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

People with a commit each month, and the ones with their first, 2026-09 to 2026-11022026-092026-102026-11
  • 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 releases or 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

#TitleOpenedStateComments
14CI: customs v0.5.02026-11-21merged0
13customs v0.4.0: no unused imports2026-11-18merged0
12ci: customs from magmalake/[email protected]2026-11-16merged0
11ci: customs from magmalake/[email protected]2026-11-15merged0
10CI: check imports with customs2026-11-15merged0
9check.sh: hold ThreadSanitizer to a per-file verdict2026-09-04merged0
8Pin lint-mojo 0.1.2 (portable mojolint binary)2026-09-04merged0
7CI: lint with mojolint2026-09-03merged0
6CI: setup-pixi v0.10.2, pixi v0.78.02026-09-03merged0
5origins.mojo on threads-mojo 0.3.0: the state by ref, the task by mut2026-09-03merged0

Migrations

DateWhatFromToCommit
2026-09-03mojo_version–1.0.0d4ae536496
2026-09-03toolingnonepixid4ae536496

Commits

Commit types: Mojo version 8% · Merge 83% · Other 8%

DateCommitTypeSubjectLines of MojoToolingMojo version
2026-11-15342673ce80MergeMerge pull request #11 from magmalake/customs-magmalake394pixi1.0.0
2026-11-15fb083edb13MergeMerge pull request #10 from magmalake/customs394pixi1.0.0
2026-09-049338f44fd1MergeMerge pull request #9 from magmalake/tsan394pixi1.0.0
2026-09-04701d2bccb8MergeMerge pull request #8 from magmalake/deprecations370pixi1.0.0
2026-09-048d683f96f9MergeMerge pull request #7 from magmalake/ci-lint370pixi1.0.0
2026-09-0397b610aa64MergeMerge pull request #5 from magmalake/typed370pixi1.0.0
2026-09-033fcdc49995MergeMerge pull request #6 from magmalake/ci-pixi-0.78439pixi1.0.0
2026-09-031d7d304f3cMergeMerge pull request #4 from magmalake/owned-and-race439pixi1.0.0
2026-09-035197c9f60eMergeMerge pull request #3 from magmalake/origins372pixi1.0.0
2026-09-038d200a59d8MergeMerge pull request #1 from magmalake/origins169pixi1.0.0
2026-09-030cdfe36118Otherthreads-mojo 0.2.2: a warning-free install73pixi1.0.0
2026-09-03d4ae536496Mojo versionThe whole program from the multithreading post73pixi1.0.0