Skip to content

0.2.0

Compare
Choose a tag to compare
@theckman theckman released this 30 Oct 20:40
· 45 commits to master since this release
v0.2.0
d0cbbf0

Add TryLockContext method to try and take an exclusive lock, while providing a
retry mechanism with a retry frequency (duration) and a context. This allows you
to retry taking the lock every n milliseconds, and to use the context to time
out after a period t seconds if no lock could be obtained.

This version introduces a dependency on Go 1.7+.