Go Lock Versions Save

go-lock is a lock library implementing read-write mutex and read-write trylock without starvation

v1.1.2

1 year ago
  • maintain the go version in CI
  • support pre-commit hook

v1.1.1

2 years ago

Fix: typo in the example

v1.1.0

2 years ago
  • Add the interface consisting with sync.Mutex and sync.RWMutex .
  • Refactor the coding style aligning the convention in Go.
  • Add examples.

v1.0.1

4 years ago
  • New interface TryLockWithContext for both read-write locks
  • Refactor coding style

v1.0.0

4 years ago

An effcient read-write lock with the following built-in mechanism:

  • Spinlock
  • Trylock
  • No-starve read-write solution