werf / lockgate

Lockgate is a cross-platform distributed locking library for Go. Supports distributed locks backed by Kubernetes or HTTP lock server. Supports conventional OS file locks.
Apache License 2.0
257 stars 16 forks source link

Add ability to lock resource between goroutines #4

Closed distorhead closed 4 years ago

distorhead commented 4 years ago

For now shluz will not wait for resource that is already locked in another goroutine.

distorhead commented 4 years ago

Fixed by the last big project refactor!

https://github.com/flant/lockgate/pull/5 https://github.com/flant/lockgate/pull/6 https://github.com/flant/lockgate/pull/7 https://github.com/flant/lockgate/pull/8 https://github.com/flant/lockgate/pull/9 https://github.com/flant/lockgate/pull/10 https://github.com/flant/lockgate/pull/11 https://github.com/flant/lockgate/pull/12