{"id":18556696,"url":"https://github.com/valkryst/c_mutex","last_synced_at":"2025-05-15T13:33:34.924Z","repository":{"id":142749528,"uuid":"468036830","full_name":"Valkryst/C_Mutex","owner":"Valkryst","description":"A wrapper which simplifies the creation, destruction, and use of mutex locks.","archived":false,"fork":false,"pushed_at":"2022-03-09T18:06:51.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-17T11:34:10.441Z","etag":null,"topics":["mutex","mutex-lock","mutex-synchronisation","pthreads","pthreads-wrapper","wrapper"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Valkryst.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"Valkryst"}},"created_at":"2022-03-09T17:56:13.000Z","updated_at":"2022-03-09T18:14:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"ace33bab-791f-402d-acc0-88725360655b","html_url":"https://github.com/Valkryst/C_Mutex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valkryst%2FC_Mutex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valkryst%2FC_Mutex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valkryst%2FC_Mutex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valkryst%2FC_Mutex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Valkryst","download_url":"https://codeload.github.com/Valkryst/C_Mutex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254349306,"owners_count":22056324,"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":["mutex","mutex-lock","mutex-synchronisation","pthreads","pthreads-wrapper","wrapper"],"created_at":"2024-11-06T21:32:56.299Z","updated_at":"2025-05-15T13:33:34.893Z","avatar_url":"https://github.com/Valkryst.png","language":"C","funding_links":["https://github.com/sponsors/Valkryst"],"categories":[],"sub_categories":[],"readme":"The foci of this repository are the [mutex.c](https://github.com/Valkryst/C_Mutex/blob/main/src/mutex.c)\nand [mutex.h](https://github.com/Valkryst/C_Mutex/blob/main/src/mutex.h)\nfiles. They simplify the creation, destruction, and use of\n[mutex locks](https://en.wikipedia.org/wiki/Lock_(computer_science)).\n\n## Compiling\n\nAdd `mutex.c` and `mutex.h` to your project, and add\n[-pthread flag](https://stackoverflow.com/a/2127819/13279616) to your compile\nflags.\n\nSee the provided [Makefile](https://github.com/Valkryst/C_Mutex/blob/main/Makefile)\nas a reference.\n\n## Dependencies\n\nFor development purposes, `mutex.c` depends on my\n[C_Logging](https://github.com/Valkryst/C_Logging) library. By replacing all\ncalls to `printError` in `mutex.c`, you can remove this dependency.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalkryst%2Fc_mutex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalkryst%2Fc_mutex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalkryst%2Fc_mutex/lists"}