package
0.0.0-20241018223127-a062be16fda2
Repository: https://github.com/activestate/cli.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
LockFile tries to acquire a read lock on the file f.
No description provided by the author
NewAlreadyLockedError returns a new AlreadyLockedError.
NewPidLock creates a new PidLock that can be used to get exclusive access to resources between processes.
PidExists checks if a process with the given PID exists and is running.
# Structs
AlreadyLockedError manages info that clarifies why a lock has failed, but is still likely valid.
PidLock represents a lock file that can be used for exclusive access to resources that should be accessed by only one process at a time.