package
3.3.0+incompatible
Repository: https://github.com/google/agi.git
Documentation: pkg.go.dev

# Functions

Lock creates a Mutex by using a file named with the given strings, and acquires the inter-process lock, then returns the created Mutex.
New creates a new file based inter-process mutex which uses the given string as the name of the underlying file.
ReleaseAllLocks releases all the FLocks by removing all the underlying files.
TryLock creates a Mutex by using a file named with the given string, and tries to acquire the inter-process lock, then returns the created Mutex.

# Structs

Mutex is a file based inter-process mutex.