An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/daskol/spinlock

Package spinlock provides a low level implementation of spinlock in assembly. Also, it provides fallback to implementation based on built-in atomics. On my private laptop benchmark results are the following. Measured time is wall time. The fastest implementation based on free function Lock()/Unlock(). However it is two times slower than spinlock implemented in modern C++.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/daskol/spinlock
Keywords: amd64 , assembler , assembly , cas , golang , spinlock
License: BSD-3-Clause
Latest release: about 7 years ago
First release: about 7 years ago
Namespace: github.com/daskol
Stars: 5 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 2 months ago

    Loading...
    Readme
    Loading...