Categorygithub.com/jacobsa/syncutil
repositorypackage
0.0.0-20180201203307-228ac8e5a6c3
Repository: https://github.com/jacobsa/syncutil.git
Documentation: pkg.go.dev

# README

GoDoc

This package contains code that supplements the sync package from the Go standard library. In particular:

  • Bundle, which makes it easy to write code that spawns multiple cancellation-aware workers that may fail.
  • InvariantMutex, which makes it possible to automatically check your invariants at lock and unlock time.

See the reference for more info.