spinlock
A spinlock implementation for Go.
It shares the same interface as sync.Mutex, and is intended to be used to synchronize exceptionally short lived operations.
Install
go get -u github.com/tidwall/spinlock
Contact
Josh Baker @tidwall
License
spinlock source code is available under the MIT License.