{"id":13806260,"url":"https://github.com/kassane/winpthreads-zigbuild","last_synced_at":"2025-07-10T00:38:44.858Z","repository":{"id":171396918,"uuid":"620341503","full_name":"kassane/winpthreads-zigbuild","owner":"kassane","description":"The Winpthreads Library for Zig toolchain","archived":false,"fork":false,"pushed_at":"2025-03-17T18:59:45.000Z","size":725,"stargazers_count":12,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-03T11:38:29.705Z","etag":null,"topics":["mingw","mingw-w64","windows","zig-package"],"latest_commit_sha":null,"homepage":"https://sourceforge.net/p/mingw-w64/mingw-w64/","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/kassane.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-03-28T13:48:04.000Z","updated_at":"2025-03-17T18:59:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"2917dd58-6411-44fb-819b-e0781fad36db","html_url":"https://github.com/kassane/winpthreads-zigbuild","commit_stats":null,"previous_names":["kassane/winpthreads-zigbuild"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kassane/winpthreads-zigbuild","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kassane%2Fwinpthreads-zigbuild","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kassane%2Fwinpthreads-zigbuild/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kassane%2Fwinpthreads-zigbuild/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kassane%2Fwinpthreads-zigbuild/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kassane","download_url":"https://codeload.github.com/kassane/winpthreads-zigbuild/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kassane%2Fwinpthreads-zigbuild/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264506285,"owners_count":23619007,"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":["mingw","mingw-w64","windows","zig-package"],"created_at":"2024-08-04T01:01:09.577Z","updated_at":"2025-07-10T00:38:44.366Z","avatar_url":"https://github.com/kassane.png","language":"C","readme":"The Winpthreads Library for Zig\n-----------------------\n\n[![build](https://github.com/kassane/winpthreads-zigbuild/actions/workflows/build.yml/badge.svg)](https://github.com/kassane/winpthreads-zigbuild/actions/workflows/build.yml)\n\nBased on: https://github.com/ziglang/zig/issues/10989\nsolved:\nhttps://github.com/ziglang/zig/pull/22156 (Zig v0.14.0)\n\nZig v0.6 ~ v0.13.0 toolchain/MinGW don't includes `winpthreads`.\n\nThis library provides POSIX threading APIs for mingw-w64.\n\nFor maximum compatibility, winpthreads headers expose APIs without the\n`dllimport` attribute by default. If your program is linked against the\nDLL, you may define the `WINPTHREADS_USE_DLLIMPORT` macro to add the\n`dllimport` attribute to all APIs, which makes function calls to them a\nbit more efficient.\n\n\nHow to use\n---------\n\n**Requires:** zig v0.12.0 or v0.13.0\n\n\n* Make a project:\n\n```bash\nmkdir your-project-folder\ncd your-project-folder \n# generate both (exe and lib template w/ build.zig \u0026 build.zig.zon)\nzig init\n# get latest version (commit-tag or branch)\nzig fetch git+https://github.com/kassane/winpthreads-zigbuild#main\n```\n\n* Add on current project:\n\n```bash\n# (w/ build.zig \u0026 build.zig.zon)\ncd your-project-folder\n# get latest version\nzig fetch git+https://github.com/kassane/winpthreads-zigbuild#main # or #commit-tag\n```\n\n**Warn:** `main` branch changes commit hashes.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkassane%2Fwinpthreads-zigbuild","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkassane%2Fwinpthreads-zigbuild","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkassane%2Fwinpthreads-zigbuild/lists"}