{"id":19633794,"url":"https://github.com/c0de4un/simple-spin-lock","last_synced_at":"2025-10-28T15:52:33.166Z","repository":{"id":144492315,"uuid":"247076181","full_name":"c0de4un/simple-spin-lock","owner":"c0de4un","description":"Simple Spin Thread-Lock Example","archived":false,"fork":false,"pushed_at":"2020-03-14T18:11:15.000Z","size":52,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T16:03:16.596Z","etag":null,"topics":["cpp","cxx","multi-threading","multithreading","mutex","posix-thread","pthread","raii","spin-lock","spinlock","thread","threading","threads","win-thread","winthread"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/c0de4un.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2020-03-13T13:21:26.000Z","updated_at":"2020-03-14T18:11:17.000Z","dependencies_parsed_at":"2023-07-24T07:30:34.752Z","dependency_job_id":null,"html_url":"https://github.com/c0de4un/simple-spin-lock","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/c0de4un%2Fsimple-spin-lock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c0de4un%2Fsimple-spin-lock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c0de4un%2Fsimple-spin-lock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c0de4un%2Fsimple-spin-lock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/c0de4un","download_url":"https://codeload.github.com/c0de4un/simple-spin-lock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240936412,"owners_count":19881315,"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":["cpp","cxx","multi-threading","multithreading","mutex","posix-thread","pthread","raii","spin-lock","spinlock","thread","threading","threads","win-thread","winthread"],"created_at":"2024-11-11T12:18:39.031Z","updated_at":"2025-10-28T15:52:28.121Z","avatar_url":"https://github.com/c0de4un.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-spin-lock\nSimple Spin Thread-Lock Example\n\n# What is inside ?\nExample of custom thread-lock method replacing default STL (Boost, NDX or any other)\nthread-lock logic.\n\n# What is spin-lock ?\nIn cases, when hardware memory transaction is unavailable, spin-lock\nallows to save some amount of CPU time, by avoiding unnecessary\nsynchronization between threads in case of samll operation.\n\n# Usage\nUse slock.hpp to reconfigure. For example to use other mutex-type.\n\n# Features\n - RAII, means, that mutex \u0026 locks are automatically unlocked (exceptions-safe);\n - C++ way to handle atomic-logic, not C;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc0de4un%2Fsimple-spin-lock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fc0de4un%2Fsimple-spin-lock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc0de4un%2Fsimple-spin-lock/lists"}