Categorygithub.com/Arriven/go-multilocker
repositorypackage
0.0.0-20191128185726-e675c4a780c6
Repository: https://github.com/arriven/go-multilocker.git
Documentation: pkg.go.dev

# README

go-multilocker

This package aim to provide a funtionality to lock multiple resources at once using deadlock avoidance algorythms.

Status

Go Report Card

Usage

See multilocker_test.go.

Reason

For that rare cases where you need to acquire multiple resources at once and don't want to deal with all the scenarios of possible deadlocks and panics. I've just encountered such case in my code and decided to make a package for it. Unfortunatelly, go-multilock didn't work for me.