Mojourney

magmalake / threads.mojo

Minimal pthreads for Mojo — spawn/join/pin, parallel_for, atomic flags — extracted from flare's runtime

GitHub ↗ · first seen in GH Archive 2026-08-30 (name / language) · 3,906 lines of Mojo in 11 files at the last of 39 commits (2026-08-30 to 2026-11-05)

Stars1as of 2026-11-23
Forks0as of 2026-11-23
Depends on1Mojo libraries, of 1 declared
Used by10census repos that depend on it
Second degree3more that depend on those
Open issues1
Watchers0
Created2026-08-302 months ago
Lines of Mojo3,90611 files
Commits392026-08-30 to 2026-11-05
Contributors2commit authors, bots left out
Mojo version1.3.0.dev2026102305from lock file
CategoryLibraries and toolsapproximate
Toolingpixi
Packagingnone
LicenseApache-2.0

Over time

  • Opened 30
  • Closed or merged 29

2026-09-03 to 2026-11-21; 30 issues and pull requests opened (1 issues, 29 pull requests), from GitHub by mojo_issues

Dependencies

Similar repos

RepoDescriptionSimilarity
magmalake/threads.exampleCompanion code for the magmalake post on writing multithreaded code in Mojo 1.0 — one file, built against threads-mojo from mojoshelf84%
magmalake/thrift.mojoPure-Mojo Apache Thrift compact/binary protocol runtime — the codec Parquet metadata needs82%
magmalake/bench.mojoA small self-hosted benchmark harness for Mojo — discovery, calibration, repetitions, JSON.82%
ParaGroup/MoStreamMoStream: Enabling Stream Parallelism in Mojo82%
thatstoasty/stumpA Structured Logger for Mojo! Inspired by charmbracelet's `log` package and the Python `structlog` package.81%

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

0 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-08 to 2026-11022026-082026-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

1 open and 0 closed issues; 0 open, 29 merged and 0 closed pull requests, from GitHub by mojo_issues.

Open issues

#TitleUpdatedLabelsComments
20A typed spawn over an owned value, like TypedPool2026-11-04–0

Pull requests

#TitleOpenedStateComments
30CI: customs v0.5.02026-11-21merged0
29Release threads-mojo 0.7.02026-11-20merged0
28Move to the Mojo 1.3 nightly (1.3.0.dev2026111805)2026-11-19merged0
27customs v0.4.0: no unused imports2026-11-18merged0
26ci: customs from magmalake/[email protected]2026-11-16merged0
25ci: customs from magmalake/[email protected]2026-11-15merged0
24CI: check imports with customs2026-11-15merged0
23CI: macOS only nightly2026-11-05merged0
22CI: release PRs skip the test legs too2026-11-05merged0
21CI: a short path for release PRs2026-11-05merged0

Migrations

DateWhatFromToCommit
2026-08-30mojo_version–1.1.0.dev20260830050969c473dd
2026-08-30toolingnonepixi0969c473dd
2026-09-08mojo_version1.1.0.dev20260830051.1.0.dev20260907056b312e15df
2026-09-20mojo_version1.1.0.dev20260907051.2.0.dev2026092005e8790abf92
2026-10-19mojo_version1.2.0.dev20260920051.2.0.dev2026101905ddb3694ab6
2026-10-23mojo_version1.2.0.dev20261019051.3.0.dev202610230532a7ef8746

Commits

Commit types: Feature 10% · Fix 5% · Mojo version 13% · Migration 5% · Refactor 3% · Docs 23% · Build and chores 23% · Merge 15% · Other 3%

DateCommitTypeSubjectLines of MojoToolingMojo version
2026-11-05f8a4037d0eMergeMerge pull request #23 from magmalake/ci/mac-nightly3,906pixi1.3.0.dev2026102305
2026-11-059893a7f414MergeMerge pull request #22 from magmalake/ci/release-skip-test-legs3,906pixi1.3.0.dev2026102305
2026-11-053933a7a22aMergeMerge pull request #21 from magmalake/ci-release-check3,906pixi1.3.0.dev2026102305
2026-10-24c8c658dfa6DocsChangelog: date the 0.6.1 release (#19)3,906pixi1.3.0.dev2026102305
2026-10-24f45e780a8dBuild and choresRelease 0.6.1 (#18)3,906pixi1.3.0.dev2026102305
2026-10-2332a7ef8746Mojo versionMojo 1.2.0 (#17)3,906pixi1.3.0.dev2026102305
2026-10-19ddb3694ab6Mojo versionNightly floor to 26.7.0.dev2026101905 (Mojo 1.2.0.dev2026101905) (#16)3,906pixi1.2.0.dev2026101905
2026-09-278090bdcdaeDocsSay Mojo 1.1.0 where the docs describe today's toolchain; drop test counts (#15)3,906pixi1.2.0.dev2026092005
2026-09-20e8790abf92Mojo versionBuild on Mojo 1.1.0; collapse compat/ to one directory; 0.6.0 (#14)3,906pixi1.2.0.dev2026092005
2026-09-172914cd2c2dBuild and chores +docsRelease 0.5.23,918pixi1.1.0.dev2026090705
2026-09-09aaf2c1c9b5FeatureAdd pin_current_to_cpu: pin the calling thread3,918pixi1.1.0.dev2026090705
2026-09-08267a0d0d85Build and choresRelease 0.5.1 (#13)3,892pixi1.1.0.dev2026090705
2026-09-084fc1973f5dDocsChangelog entry for 0.5.1 (#12)3,892pixi1.1.0.dev2026090705
2026-09-0802fe084f9fOtherSay why std.atomic stays, now the regression is fixed (#11)3,892pixi1.1.0.dev2026090705
2026-09-0896c874a79aBuild and choresRelease 0.5.0 (#10)3,883pixi1.1.0.dev2026090705
2026-09-08c06e53d5a8DocsRoll the changelog for 0.5.0 (#9)3,883pixi1.1.0.dev2026090705
2026-09-086b312e15dfMojo version +docsMove threads.atomic onto std.atomic, behind a one-line toolchain shim (#8)3,883pixi1.1.0.dev2026090705
2026-09-05b80ef39338DocsName the tins that depend on this, and retire a claim (#7)3,805pixi1.1.0.dev2026083005
2026-09-047bc97c90f9Feature +testsAdd a sanitizer stress harness and a zero-tolerance CI gate3,805pixi1.1.0.dev2026083005
2026-09-049b05c296aaMigrationPin lint-mojo 0.1.2 (portable mojolint binary)3,357pixi1.1.0.dev2026083005
2026-09-04dc8308ab93Build and choresCI: lint with mojolint3,357pixi1.1.0.dev2026083005
2026-09-03772dd842d4Merge +tests +docsMerge pull request #4 from magmalake/typed-worker-pool3,357pixi1.1.0.dev2026083005
2026-09-03eb0506b5f8MergeMerge pull request #2 from magmalake/ci-pixi-0.782,892pixi1.1.0.dev2026083005
2026-09-031133606d6dMerge +tests +docsMerge pull request #1 from magmalake/typed-parallel-for2,892pixi1.1.0.dev2026083005
2026-09-03afa64b0e9eBuild and choresPackage docstring: the last warning in a consumer's build2,755pixi1.1.0.dev2026083005
2026-09-03d1898ae508Build and choresshelf.toml: 0.2.12,755pixi1.1.0.dev2026083005
2026-09-0399b66f3c67Migration +testsCompile without deprecation warnings on 1.0.0 and nightly2,755pixi1.1.0.dev2026083005
2026-09-0298404fa31aFixFix format-check2,740pixi1.1.0.dev2026083005
2026-09-0129937bc55fBuild and chorespixi: upgrade to 0.78.0 and the .mojoc-producing build backend2,740pixi1.1.0.dev2026083005
2026-09-01d05cbff21eRefactor`__deinit__`, not `__del__`2,740pixi1.1.0.dev2026083005
2026-09-0199c4e43f74Fix +tests +docsWorkerPool: long-lived workers that run until stopped; 0.2.02,740pixi1.1.0.dev2026083005
2026-09-01ec4ca66c8dDocsREADME: point agents at the mojoshelf skill2,236pixi1.1.0.dev2026083005
2026-09-013cc3dcf561DocsREADME: say how to actually install this2,236pixi1.1.0.dev2026083005
2026-08-313b5f515ef1DocsLink README to magmalake.org2,236pixi1.1.0.dev2026083005
2026-08-30f455f0ae3cDocsREADME, and mojo format over the sources2,236pixi1.1.0.dev2026083005
2026-08-302ac22781c3Build and choresCI: nightly and stable on ubuntu and macos2,238pixi1.1.0.dev2026083005
2026-08-30fdea453c25FeatureAdd the threads-mojo demo CLI2,238pixi1.1.0.dev2026083005
2026-08-309d2c0334e3FeatureAdd the test suite: 26 tests, races included1,985pixi1.1.0.dev2026083005
2026-08-300969c473ddMojo versionAdd pthread FFI core: threads, atomics, mutex, parallel_for1,394pixi1.1.0.dev2026083005