{"id":206427,"name":null,"description":"Spinlock implementation in Go and inline assembler.","url":"https://github.com/daskol/spinlock","last_synced_at":"2025-09-11T08:49:36.420Z","repository":{"id":88393016,"uuid":"139770895","full_name":"daskol/spinlock","owner":"daskol","description":"Spinlock implementation in Go and inline assembler.","archived":false,"fork":false,"pushed_at":"2018-07-26T16:39:12.000Z","size":6,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-09T06:58:42.082Z","etag":null,"topics":["amd64","assembler","assembly","cas","golang","spinlock"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daskol.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":"2018-07-04T22:33:09.000Z","updated_at":"2025-03-12T22:45:00.000Z","dependencies_parsed_at":"2023-03-04T03:15:17.652Z","dependency_job_id":null,"html_url":"https://github.com/daskol/spinlock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/daskol/spinlock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daskol%2Fspinlock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daskol%2Fspinlock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daskol%2Fspinlock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daskol%2Fspinlock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daskol","download_url":"https://codeload.github.com/daskol/spinlock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daskol%2Fspinlock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274604032,"owners_count":25315538,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"}},"owner":{"login":"daskol","name":"Daniel Bershatsky","uuid":"9336514","kind":"user","description":"","email":"","website":"https://daskol.xyz","location":"Russia, Moscow","twitter":null,"company":"@skoltech-ai","icon_url":"https://avatars.githubusercontent.com/u/9336514?v=4","repositories_count":11,"last_synced_at":"2023-02-27T08:40:33.289Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/daskol","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-10T17:45:51.195Z","updated_at":"2023-02-27T08:40:33.332Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daskol","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daskol/repositories"},"packages":[{"id":3555778,"name":"github.com/daskol/spinlock","ecosystem":"go","description":"Package spinlock provides a low level implementation of spinlock in\nassembly. Also, it provides fallback to implementation based on built-in\natomics.\n\nOn my private laptop benchmark results are the following. Measured time is\nwall time.\n\nThe fastest implementation based on free function Lock()/Unlock(). However\nit is two times slower than spinlock implemented in modern C++.","homepage":"https://github.com/daskol/spinlock","licenses":"BSD-3-Clause","normalized_licenses":["BSD-3-Clause"],"repository_url":"https://github.com/daskol/spinlock","keywords_array":[],"namespace":"github.com/daskol","versions_count":1,"first_release_published_at":"2018-07-26T16:38:09.000Z","latest_release_published_at":"2018-07-26T16:38:09.000Z","latest_release_number":"v0.0.0-20180726163809-0107801d875f","last_synced_at":"2025-09-09T06:14:06.690Z","created_at":"2022-04-11T01:31:09.581Z","updated_at":"2025-09-09T06:14:06.690Z","registry_url":"https://pkg.go.dev/github.com/daskol/spinlock","install_command":"go get github.com/daskol/spinlock","documentation_url":"https://pkg.go.dev/github.com/daskol/spinlock#section-documentation","metadata":{},"repo_metadata":{"uuid":"139770895","full_name":"daskol/spinlock","owner":"daskol","description":"Spinlock implementation in Go and inline assembler.","archived":false,"fork":false,"pushed_at":"2018-07-26T16:39:12.000Z","size":6,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-02-27T08:42:08.009Z","etag":null,"topics":["amd64","assembler","assembly","cas","golang","spinlock"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"logo_url":null,"metadata":{},"created_at":"2018-07-04T22:33:09.000Z","updated_at":"2022-12-26T13:12:51.000Z","dependencies_parsed_at":"2023-03-04T03:15:17.652Z","dependency_job_id":null,"html_url":"https://github.com/daskol/spinlock","commit_stats":null,"repository_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daskol%2Fspinlock","tags_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daskol%2Fspinlock/tags","manifests_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daskol%2Fspinlock/manifests","owner_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daskol","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":108921946,"host_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names"}},"repo_metadata_updated_at":"2023-03-21T18:45:36.404Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":9.345852080216646,"dependent_packages_count":6.999148183520997,"stargazers_count":null,"forks_count":null,"average":8.172500131868823},"purl":"pkg:golang/github.com/daskol/spinlock","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/daskol/spinlock","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/daskol/spinlock","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/daskol/spinlock/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2023-08-11T22:33:18.254Z","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fdaskol%2Fspinlock/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fdaskol%2Fspinlock/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fdaskol%2Fspinlock/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fdaskol%2Fspinlock/related_packages","maintainers":[],"registry":{"name":"proxy.golang.org","url":"https://proxy.golang.org","ecosystem":"go","default":true,"packages_count":1955437,"maintainers_count":0,"namespaces_count":742218,"keywords_count":109465,"github":"golang","metadata":{"funded_packages_count":49475},"icon_url":"https://github.com/golang.png","created_at":"2022-04-04T15:19:22.939Z","updated_at":"2025-09-11T06:54:46.017Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages","maintainers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/maintainers","namespaces_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/namespaces"}}],"commits":{"id":2816155,"full_name":"daskol/spinlock","default_branch":"master","committers":[{"name":"Daniel Bershatsky","email":"daniel.bershatsky@skolkovotech.ru","login":null,"count":4},{"name":"Daniel Bershatsky","email":"daskol","login":"daskol","count":1}],"total_commits":5,"total_committers":2,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":2.5,"dds":0.19999999999999996,"past_year_committers":[],"past_year_total_commits":0,"past_year_total_committers":0,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":0.0,"past_year_dds":0.0,"last_synced_at":"2024-10-18T16:44:32.979Z","last_synced_commit":"0107801d875fa7a3d3fc9d5485e5ed88f88d6e6a","created_at":"2024-10-11T16:06:32.182Z","updated_at":"2024-10-18T16:44:32.979Z","commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/daskol%2Fspinlock/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-09-11T02:23:18.710Z","repositories_count":5579221,"commits_count":890438433,"contributors_count":33166812,"owners_count":922982,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"daskol/spinlock","html_url":"https://github.com/daskol/spinlock","last_synced_at":"2025-08-14T20:37:42.173Z","status":"error","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"created_at":"2023-05-16T07:22:32.104Z","updated_at":"2025-08-14T20:37:42.174Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/daskol%2Fspinlock","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/daskol%2Fspinlock/issues","issue_labels_count":{},"pull_request_labels_count":{},"issue_author_associations_count":{},"pull_request_author_associations_count":{},"issue_authors":{},"pull_request_authors":{},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-09-11T00:00:09.407Z","repositories_count":10235042,"issues_count":32589192,"pull_requests_count":103247013,"authors_count":10756525,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{},"past_year_pull_request_author_associations_count":{},"past_year_issue_authors":{},"past_year_pull_request_authors":{},"maintainers":[],"active_maintainers":[]},"events":{"total":{"WatchEvent":1},"last_year":{"WatchEvent":1}},"keywords":["amd64","assembler","assembly","cas","golang","spinlock"],"dependencies":[],"score":null,"created_at":"2025-09-09T04:22:16.063Z","updated_at":"2025-10-07T08:44:11.072Z","avatar_url":"https://github.com/daskol.png","language":"Go","category":null,"sub_category":null,"monthly_downloads":0,"funding_links":[],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":[],"project_url":"https://science.ecosyste.ms/api/v1/projects/206427","html_url":"https://science.ecosyste.ms/projects/206427"}