Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

filelock

Build Status GoDoc

Basic inter-process synchronization via POSIX filesystem locking

go get github.com/rosenhouse/filelock

Usage

Simple example

  1. Install the demo binary
go install github.com/rosenhouse/filelock/filelock-demo
  1. Acquire a lock
filelock-demo /tmp/some/lock
  1. Open another terminal and attempt to acquire the same lock
filelock-demo /tmp/some/lock

About

Simple inter-process locking via the filesystem

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages