Skip to content

Releases: viney-shih/go-lock

v1.1.2

18 Jun 04:20
2f19fd8

Choose a tag to compare

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

v1.1.1

24 Jul 14:23
d01021e

Choose a tag to compare

Fix: typo in the example

v1.1.0: feat: refactor whole structure consisting with sync package (#2)

24 Jul 14:12
a8c3844

Choose a tag to compare

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

v1.0.1

01 May 17:07

Choose a tag to compare

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

Implement TryLock with channel, semaphore and CAS mechanism

01 May 06:41

Choose a tag to compare

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

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