{"id":29553317,"url":"https://github.com/soasis/thread","last_synced_at":"2025-10-15T02:14:34.164Z","repository":{"id":283846002,"uuid":"953070441","full_name":"soasis/thread","owner":"soasis","description":"An experimental library for adding attributes to threads (without rewriting the whole thread interface), for C11 and similar.","archived":false,"fork":false,"pushed_at":"2025-07-12T16:27:33.000Z","size":193,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-12T18:39:59.506Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/soasis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"ThePhD","ko_fi":"soasis","patreon":"soasis","liberapay":"soasis","custom":["https://www.paypal.me/Soasis","https://thephd.github.io/support","https://soasis.org/contact/opensource"]}},"created_at":"2025-03-22T13:59:39.000Z","updated_at":"2025-07-12T16:27:37.000Z","dependencies_parsed_at":"2025-04-17T17:21:35.335Z","dependency_job_id":"67075921-437f-4a79-90d6-c76624619e38","html_url":"https://github.com/soasis/thread","commit_stats":null,"previous_names":["soasis/thread"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/soasis/thread","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soasis%2Fthread","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soasis%2Fthread/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soasis%2Fthread/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soasis%2Fthread/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soasis","download_url":"https://codeload.github.com/soasis/thread/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soasis%2Fthread/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265711426,"owners_count":23815531,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-18T06:37:40.754Z","updated_at":"2025-10-15T02:14:29.143Z","avatar_url":"https://github.com/soasis.png","language":"C","funding_links":["https://github.com/sponsors/ThePhD","https://ko-fi.com/soasis","https://patreon.com/soasis","https://liberapay.com/soasis","https://www.paypal.me/Soasis","https://thephd.github.io/support","https://soasis.org/contact/opensource"],"categories":[],"sub_categories":[],"readme":"# `ztd.thread`\n\nThis is an experimental library meant to provide some additional functionality to C11 threads. The background for this comes from the serious issues C++ suffered while trying to improve their threading APIs while suffering backwards-compatibility and structure upgrade problems:\n\n- [https://wg21.link/p2019 (most mature)](https://wg21.link/p2019)\n- [https://wg21.link/p3072](https://wg21.link/p3072)\n- [https://wg21.link/p3022](https://wg21.link/p3022)\n\nC++ is attempting to use templates and other techniques to try and save on effort. This library takes a different approach, instead using an enumeration with 65,536 reserved values [`0`, `65'535`] for the standard, and 2,147,418,112 reserved values [`65'636`, `2'147'483'647`] for implementation-defined attributes. Each value of the enumeration corresponds to a structure that describes something for the thread to use.\n\nYou can find the [the library documentation here (https://ztdthread.rtfd.io)](https://ztdthread.rtfd.io/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoasis%2Fthread","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoasis%2Fthread","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoasis%2Fthread/lists"}