{"library":{"repo":"magmalake/threads.mojo","description":"Minimal pthreads for Mojo — spawn/join/pin, parallel_for, atomic flags — extracted from flare's runtime","created_at":"2026-08-30T19:18:36Z","first_seen":"2026-08-30T19:35:46Z","found_by":"name / language","stars":1,"forks":0,"license":"Apache-2.0","size_kb":447,"commits":39,"mojo_lines":3906,"mojo_files":11,"tooling":"pixi","packaging":"none","mojo_version":"1.3.0.dev2026102305","version_source":"lock","version_file":"","version_estimate":"1.2","version_estimate_source":"date","topics":["concurrency","magmalake","mojo","mojo-lang","multithreading","parallelism","pthreads","threads"],"stats_as_of":"2026-11-23","open_issues":1,"watchers":0,"archived":false,"state":"ok","renamed_to":"","aliases":[],"declared_deps":1,"depends_on":["magmalake/lint.mojo"],"used_by":["labelrefinery/LabelControl","magmalake/flare_mlake","magmalake/iceberg.mojo","magmalake/k8s.mojo","magmalake/parquet.mojo","magmalake/restate.mojo","magmalake/threads.example","morca-dev/census","morca-dev/dista","morca-dev/morca"],"used_by_forks":[],"second_degree":["labelrefinery/Refinery","magmalake/taxibench.example","morca-dev/hindcast"],"dependencies":["lint-mojo"],"category":"tooling"},"migrations":[{"at":"2026-08-30T19:30:26Z","sha":"0969c473dd159279fc05a1f2055ec2fe8b7a9076","kind":"mojo_version","from":"","to":"1.1.0.dev2026083005"},{"at":"2026-08-30T19:30:26Z","sha":"0969c473dd159279fc05a1f2055ec2fe8b7a9076","kind":"tooling","from":"none","to":"pixi"},{"at":"2026-09-08T13:17:42Z","sha":"6b312e15dff93cae7c0546aba07ab45210051758","kind":"mojo_version","from":"1.1.0.dev2026083005","to":"1.1.0.dev2026090705"},{"at":"2026-09-20T17:18:35Z","sha":"e8790abf928c96073a5457462558cad9cb52656d","kind":"mojo_version","from":"1.1.0.dev2026090705","to":"1.2.0.dev2026092005"},{"at":"2026-10-19T21:26:10Z","sha":"ddb3694ab6b6f194287ce8f2f1faf5f23998f890","kind":"mojo_version","from":"1.2.0.dev2026092005","to":"1.2.0.dev2026101905"},{"at":"2026-10-23T16:56:33Z","sha":"32a7ef8746bc728f00677ed45641cc4de796a09d","kind":"mojo_version","from":"1.2.0.dev2026101905","to":"1.3.0.dev2026102305"}],"commits":[{"at":"2026-08-30T19:30:26Z","sha":"0969c473dd159279fc05a1f2055ec2fe8b7a9076","mojo_lines":1394,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"Add pthread FFI core: threads, atomics, mutex, parallel_for","type":"version","secondary":[],"typed_by":"rules"},{"at":"2026-08-30T19:33:36Z","sha":"9d2c0334e31ed6a476edc2c8d35f9bccb70572cf","mojo_lines":1985,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"Add the test suite: 26 tests, races included","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-08-30T19:35:08Z","sha":"fdea453c25d09cc8a7615b24005789b8d81cc52c","mojo_lines":2238,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"Add the threads-mojo demo CLI","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-08-30T19:35:44Z","sha":"2ac22781c34f9d2e35ec2baed75e7457419a946f","mojo_lines":2238,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"CI: nightly and stable on ubuntu and macos","type":"chore","secondary":[],"typed_by":"rules"},{"at":"2026-08-30T19:40:58Z","sha":"f455f0ae3c2cbe862e1db14e13d219dc682e1896","mojo_lines":2236,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"README, and mojo format over the sources","type":"docs","secondary":[],"typed_by":"rules"},{"at":"2026-08-31T12:31:48Z","sha":"3b5f515ef1f2496a3ffbf40c8fc04abde4a0b3d8","mojo_lines":2236,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"Link README to magmalake.org","type":"docs","secondary":[],"typed_by":"files"},{"at":"2026-09-01T12:21:57Z","sha":"3cc3dcf56153f1abfb0917eaeafe498280f88af4","mojo_lines":2236,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"README: say how to actually install this","type":"docs","secondary":[],"typed_by":"rules"},{"at":"2026-09-01T12:26:57Z","sha":"ec4ca66c8d095999b25572161626145bd37708ec","mojo_lines":2236,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"README: point agents at the mojoshelf skill","type":"docs","secondary":[],"typed_by":"rules"},{"at":"2026-09-01T12:54:28Z","sha":"99c4e43f741ef17d6c7057e9b2bada1916efdac4","mojo_lines":2740,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"WorkerPool: long-lived workers that run until stopped; 0.2.0","type":"fix","secondary":["test","docs"],"typed_by":"files"},{"at":"2026-09-01T13:36:16Z","sha":"d05cbff21e25b817607a33edb2f3c9e8fc696964","mojo_lines":2740,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"`__deinit__`, not `__del__`","type":"refactor","secondary":[],"typed_by":"files"},{"at":"2026-09-01T21:11:54Z","sha":"29937bc55fdf4ced6de1e834bbe5babaf745ef2c","mojo_lines":2740,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"pixi: upgrade to 0.78.0 and the .mojoc-producing build backend","type":"chore","secondary":[],"typed_by":"files"},{"at":"2026-09-02T18:45:23Z","sha":"98404fa31a03c6f2f6eba1f6c2aa4afe49cc8882","mojo_lines":2740,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"Fix format-check","type":"fix","secondary":[],"typed_by":"rules"},{"at":"2026-09-03T12:00:07Z","sha":"99b66f3c674c9198b030036a8e3f90e53ba0e002","mojo_lines":2755,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"Compile without deprecation warnings on 1.0.0 and nightly","type":"migration","secondary":["test"],"typed_by":"rules"},{"at":"2026-09-03T12:01:42Z","sha":"d1898ae5089f90b84bb549f9bd915e2c2984032c","mojo_lines":2755,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"shelf.toml: 0.2.1","type":"chore","secondary":[],"typed_by":"files"},{"at":"2026-09-03T12:04:03Z","sha":"afa64b0e9ebf7f5dc2079f98b3d0e49dcd7bb6ab","mojo_lines":2755,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"Package docstring: the last warning in a consumer's build","type":"chore","secondary":[],"typed_by":"files"},{"at":"2026-09-03T12:58:37Z","sha":"1133606d6de0f48039e7ba2b427575b39b0d2010","mojo_lines":2892,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"Merge pull request #1 from magmalake/typed-parallel-for","type":"merge","secondary":["test","docs"],"typed_by":"rules"},{"at":"2026-09-03T14:08:51Z","sha":"eb0506b5f8141d5ff108e593a87db3095e60999f","mojo_lines":2892,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"Merge pull request #2 from magmalake/ci-pixi-0.78","type":"merge","secondary":[],"typed_by":"rules"},{"at":"2026-09-03T22:08:08Z","sha":"772dd842d4222aeae48e4eda9766ff2edec1bdff","mojo_lines":3357,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"Merge pull request #4 from magmalake/typed-worker-pool","type":"merge","secondary":["test","docs"],"typed_by":"rules"},{"at":"2026-09-04T00:03:58Z","sha":"dc8308ab93a7ec3d4da2f4a90b7d6fea88b1d8a0","mojo_lines":3357,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"CI: lint with mojolint","type":"chore","secondary":[],"typed_by":"rules"},{"at":"2026-09-04T02:12:48Z","sha":"9b05c296aa4e433b94c7c084bc18a41bb263de80","mojo_lines":3357,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"Pin lint-mojo 0.1.2 (portable mojolint binary)","type":"migration","secondary":[],"typed_by":"files"},{"at":"2026-09-04T04:20:05Z","sha":"7bc97c90f924605ddf4de84de61d7617a2c4d1d5","mojo_lines":3805,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"Add a sanitizer stress harness and a zero-tolerance CI gate","type":"feature","secondary":["test"],"typed_by":"rules"},{"at":"2026-09-05T14:23:40Z","sha":"b80ef39338cc7ca061f3107e990d99fa3172d6d9","mojo_lines":3805,"tooling":"pixi","mojo_version":"1.1.0.dev2026083005","subject":"Name the tins that depend on this, and retire a claim (#7)","type":"docs","secondary":[],"typed_by":"files"},{"at":"2026-09-08T13:17:42Z","sha":"6b312e15dff93cae7c0546aba07ab45210051758","mojo_lines":3883,"tooling":"pixi","mojo_version":"1.1.0.dev2026090705","subject":"Move threads.atomic onto std.atomic, behind a one-line toolchain shim (#8)","type":"version","secondary":["docs"],"typed_by":"rules"},{"at":"2026-09-08T13:38:49Z","sha":"c06e53d5a872955ffe6f546944b52eb517d2fcf2","mojo_lines":3883,"tooling":"pixi","mojo_version":"1.1.0.dev2026090705","subject":"Roll the changelog for 0.5.0 (#9)","type":"docs","secondary":[],"typed_by":"files"},{"at":"2026-09-08T13:43:55Z","sha":"96c874a79aa2d09f1cc624529e61cd5e6d958bf9","mojo_lines":3883,"tooling":"pixi","mojo_version":"1.1.0.dev2026090705","subject":"Release 0.5.0 (#10)","type":"chore","secondary":[],"typed_by":"rules"},{"at":"2026-09-08T17:19:33Z","sha":"02fe084f9fb02af185ba8651c1183d7e65421d79","mojo_lines":3892,"tooling":"pixi","mojo_version":"1.1.0.dev2026090705","subject":"Say why std.atomic stays, now the regression is fixed (#11)","type":"other","secondary":[],"typed_by":"rules"},{"at":"2026-09-08T17:54:50Z","sha":"4fc1973f5dedbd7c906a44b9ae77df0cba5006e7","mojo_lines":3892,"tooling":"pixi","mojo_version":"1.1.0.dev2026090705","subject":"Changelog entry for 0.5.1 (#12)","type":"docs","secondary":[],"typed_by":"files"},{"at":"2026-09-08T18:00:19Z","sha":"267a0d0d85400f67a59ce742ea7624894cce64f4","mojo_lines":3892,"tooling":"pixi","mojo_version":"1.1.0.dev2026090705","subject":"Release 0.5.1 (#13)","type":"chore","secondary":[],"typed_by":"rules"},{"at":"2026-09-09T22:07:52Z","sha":"aaf2c1c9b551747f3b898b2198380f65105becd1","mojo_lines":3918,"tooling":"pixi","mojo_version":"1.1.0.dev2026090705","subject":"Add pin_current_to_cpu: pin the calling thread","type":"feature","secondary":[],"typed_by":"rules"},{"at":"2026-09-17T02:11:42Z","sha":"2914cd2c2db594aeebba9da137f8c1a456e26d47","mojo_lines":3918,"tooling":"pixi","mojo_version":"1.1.0.dev2026090705","subject":"Release 0.5.2","type":"chore","secondary":["docs"],"typed_by":"rules"},{"at":"2026-09-20T17:18:35Z","sha":"e8790abf928c96073a5457462558cad9cb52656d","mojo_lines":3906,"tooling":"pixi","mojo_version":"1.2.0.dev2026092005","subject":"Build on Mojo 1.1.0; collapse compat/ to one directory; 0.6.0 (#14)","type":"version","secondary":[],"typed_by":"rules"},{"at":"2026-09-27T15:14:54Z","sha":"8090bdcdae1f3b52c85fdfa616d4ea999a6ef828","mojo_lines":3906,"tooling":"pixi","mojo_version":"1.2.0.dev2026092005","subject":"Say Mojo 1.1.0 where the docs describe today's toolchain; drop test counts (#15)","type":"docs","secondary":[],"typed_by":"files"},{"at":"2026-10-19T21:26:10Z","sha":"ddb3694ab6b6f194287ce8f2f1faf5f23998f890","mojo_lines":3906,"tooling":"pixi","mojo_version":"1.2.0.dev2026101905","subject":"Nightly floor to 26.7.0.dev2026101905 (Mojo 1.2.0.dev2026101905) (#16)","type":"version","secondary":[],"typed_by":"rules"},{"at":"2026-10-23T16:56:33Z","sha":"32a7ef8746bc728f00677ed45641cc4de796a09d","mojo_lines":3906,"tooling":"pixi","mojo_version":"1.3.0.dev2026102305","subject":"Mojo 1.2.0 (#17)","type":"version","secondary":[],"typed_by":"rules"},{"at":"2026-10-24T17:59:55Z","sha":"f45e780a8de77278c140cee36904e46e93e0ca1c","mojo_lines":3906,"tooling":"pixi","mojo_version":"1.3.0.dev2026102305","subject":"Release 0.6.1 (#18)","type":"chore","secondary":[],"typed_by":"rules"},{"at":"2026-10-24T21:53:08Z","sha":"c8c658dfa6fac00b7d5ab89a0277f248a7a79457","mojo_lines":3906,"tooling":"pixi","mojo_version":"1.3.0.dev2026102305","subject":"Changelog: date the 0.6.1 release (#19)","type":"docs","secondary":[],"typed_by":"files"},{"at":"2026-11-05T14:12:34Z","sha":"3933a7a22abdf972c9fdd478c857f4e2142b6e2c","mojo_lines":3906,"tooling":"pixi","mojo_version":"1.3.0.dev2026102305","subject":"Merge pull request #21 from magmalake/ci-release-check","type":"merge","secondary":[],"typed_by":"rules"},{"at":"2026-11-05T17:06:41Z","sha":"9893a7f414555f4f74601217561179007f8f9a97","mojo_lines":3906,"tooling":"pixi","mojo_version":"1.3.0.dev2026102305","subject":"Merge pull request #22 from magmalake/ci/release-skip-test-legs","type":"merge","secondary":[],"typed_by":"rules"},{"at":"2026-11-05T19:36:25Z","sha":"f8a4037d0eed200f1980a61db19843362b42bfb6","mojo_lines":3906,"tooling":"pixi","mojo_version":"1.3.0.dev2026102305","subject":"Merge pull request #23 from magmalake/ci/mac-nightly","type":"merge","secondary":[],"typed_by":"rules"}],"activity":[{"month":"2026-08","stars":0,"forks":0,"releases":0,"issues_opened":0,"prs_opened":0,"pushes":1,"days_active":1},{"month":"2026-09","stars":0,"forks":0,"releases":0,"issues_opened":0,"prs_opened":0,"pushes":0,"days_active":2},{"month":"2026-11","stars":0,"forks":0,"releases":0,"issues_opened":0,"prs_opened":0,"pushes":1,"days_active":1}],"releases":[],"issues":{"open_issues":1,"closed_issues":0,"open_prs":0,"merged_prs":29,"closed_prs":0,"recent_open_issues":[{"number":20,"title":"A typed spawn over an owned value, like TypedPool","state":"open","labels":[],"author":"winding-lines","comments":0,"created_at":"2026-11-04T21:01:52Z","updated_at":"2026-11-04T21:01:52Z","closed_at":null,"merged_at":null}],"recent_prs":[{"number":30,"title":"CI: customs v0.5.0","state":"closed","labels":[],"author":"winding-lines","comments":0,"created_at":"2026-11-21T16:03:41Z","updated_at":"2026-11-21T16:08:51Z","closed_at":"2026-11-21T16:08:49Z","merged_at":"2026-11-21T16:08:49Z"},{"number":29,"title":"Release threads-mojo 0.7.0","state":"closed","labels":["release"],"author":"winding-lines","comments":0,"created_at":"2026-11-20T21:32:20Z","updated_at":"2026-11-20T21:44:53Z","closed_at":"2026-11-20T21:44:50Z","merged_at":"2026-11-20T21:44:50Z"},{"number":28,"title":"Move to the Mojo 1.3 nightly (1.3.0.dev2026111805)","state":"closed","labels":[],"author":"winding-lines","comments":0,"created_at":"2026-11-19T12:37:49Z","updated_at":"2026-11-19T13:20:04Z","closed_at":"2026-11-19T13:20:01Z","merged_at":"2026-11-19T13:20:01Z"},{"number":27,"title":"customs v0.4.0: no unused imports","state":"closed","labels":[],"author":"winding-lines","comments":0,"created_at":"2026-11-18T14:02:19Z","updated_at":"2026-11-18T14:09:07Z","closed_at":"2026-11-18T14:09:04Z","merged_at":"2026-11-18T14:09:04Z"},{"number":26,"title":"ci: customs from magmalake/customs@v0.3.0","state":"closed","labels":[],"author":"winding-lines","comments":0,"created_at":"2026-11-16T16:40:12Z","updated_at":"2026-11-16T16:49:21Z","closed_at":"2026-11-16T16:49:18Z","merged_at":"2026-11-16T16:49:18Z"},{"number":25,"title":"ci: customs from magmalake/customs@v0.2.1","state":"closed","labels":[],"author":"winding-lines","comments":0,"created_at":"2026-11-15T22:50:59Z","updated_at":"2026-11-15T22:59:01Z","closed_at":"2026-11-15T22:58:58Z","merged_at":"2026-11-15T22:58:58Z"},{"number":24,"title":"CI: check imports with customs","state":"closed","labels":[],"author":"winding-lines","comments":0,"created_at":"2026-11-15T17:20:51Z","updated_at":"2026-11-15T17:29:04Z","closed_at":"2026-11-15T17:29:02Z","merged_at":"2026-11-15T17:29:02Z"},{"number":23,"title":"CI: macOS only nightly","state":"closed","labels":[],"author":"winding-lines","comments":0,"created_at":"2026-11-05T19:02:24Z","updated_at":"2026-11-05T19:36:28Z","closed_at":"2026-11-05T19:36:25Z","merged_at":"2026-11-05T19:36:25Z"},{"number":22,"title":"CI: release PRs skip the test legs too","state":"closed","labels":[],"author":"winding-lines","comments":0,"created_at":"2026-11-05T15:23:35Z","updated_at":"2026-11-05T17:06:45Z","closed_at":"2026-11-05T17:06:42Z","merged_at":"2026-11-05T17:06:42Z"},{"number":21,"title":"CI: a short path for release PRs","state":"closed","labels":[],"author":"winding-lines","comments":0,"created_at":"2026-11-05T13:17:36Z","updated_at":"2026-11-05T14:12:38Z","closed_at":"2026-11-05T14:12:35Z","merged_at":"2026-11-05T14:12:35Z"}]},"contributors":{"total":2,"months":[{"month":"2026-08","active":2,"new":2},{"month":"2026-09","active":2,"new":0},{"month":"2026-10","active":1,"new":0},{"month":"2026-11","active":2,"new":0}]},"over_time":{"lines_of_mojo":3906,"commits":{"total":39,"months":[{"month":"2026-08","commits":6,"cumulative":6},{"month":"2026-09","commits":26,"cumulative":32},{"month":"2026-10","commits":4,"cumulative":36},{"month":"2026-11","commits":3,"cumulative":39}]},"issues":{"total":30,"counts":"issues and pull requests","months":[{"month":"2026-09","opened":15,"closed":15,"cumulative_opened":15,"cumulative_closed":15},{"month":"2026-10","opened":4,"closed":4,"cumulative_opened":19,"cumulative_closed":19},{"month":"2026-11","opened":11,"closed":10,"cumulative_opened":30,"cumulative_closed":29}]}},"similar":[{"repo":"magmalake/threads.example","score":0.83796763},{"repo":"magmalake/thrift.mojo","score":0.8182615},{"repo":"magmalake/bench.mojo","score":0.8159944},{"repo":"ParaGroup/MoStream","score":0.815177},{"repo":"thatstoasty/stump","score":0.8103855}],"similar_from":{"model":"bge-small-en-v1.5","model_rev":"bbddccb7d85cc5e6","snapshot":3454761910736014829,"categories_version":1}}