Releases: viney-shih/go-lock
Releases · viney-shih/go-lock
v1.1.2
v1.1.1
Fix: typo in the example
v1.1.0: feat: refactor whole structure consisting with sync package (#2)
- Add the interface consisting with
sync.Mutex
andsync.RWMutex
. - Refactor the coding style aligning the convention in Go.
- Add examples.
v1.0.1
- New interface
TryLockWithContext
for both read-write locks - Refactor coding style
Implement TryLock with channel, semaphore and CAS mechanism
An effcient read-write lock with the following built-in mechanism:
- Spinlock
- Trylock
- No-starve read-write solution