{"id":22281042,"url":"https://github.com/mpdn/try-mutex","last_synced_at":"2025-07-28T19:33:06.809Z","repository":{"id":47435447,"uuid":"135052336","full_name":"mpdn/try-mutex","owner":"mpdn","description":"A non-blocking mutual exclusion primitive","archived":false,"fork":false,"pushed_at":"2022-10-27T16:13:29.000Z","size":16,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-10T07:51:08.542Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mpdn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-27T14:10:22.000Z","updated_at":"2023-01-09T16:35:13.000Z","dependencies_parsed_at":"2022-09-15T21:53:16.390Z","dependency_job_id":null,"html_url":"https://github.com/mpdn/try-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/mpdn%2Ftry-mutex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpdn%2Ftry-mutex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpdn%2Ftry-mutex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpdn%2Ftry-mutex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpdn","download_url":"https://codeload.github.com/mpdn/try-mutex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227951793,"owners_count":17846347,"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":"2024-12-03T16:13:00.470Z","updated_at":"2024-12-03T16:13:01.174Z","avatar_url":"https://github.com/mpdn.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"A simple non-blocking mutex (i.e. only `try_lock` is supported), using atomics.\n\nSimpler than the one found in stdlib. Does not support poisoning.\n\nThis used to be faster than the mutex in the standard library, but benchmarking indicates that\noptimizations in the standard library means there is no longer a significant difference\n(on my machine). Be sure to run them on your own machine to compare.\n\nNevertheless, this library may still be useful for embedded or similar cases.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpdn%2Ftry-mutex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpdn%2Ftry-mutex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpdn%2Ftry-mutex/lists"}