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

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++.

Ecosystem
proxy.golang.org
Latest Release
v0.0.0-20180726163809-0107801d875f
over 7 years ago
Versions
1
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/daskol/spinlock
spec
License BSD-3-Clause
Namespace github.com/daskol
First Release over 7 years ago
Last Synced 21 days ago
Repository
Stars 5 on GitHub
Forks 0 on GitHub
Rankings on proxy.golang.org
Overall Top 8.2%