pkg/fsync
Nalin Dahyabhai bd3b44be3e Add a file-backed read-write mutex implementation
The fsync package provides Mutex and RWMutex types which aim to provide
the same semantics as their namesakes in the sync package, extending
that locking across processes by using file locks and randomly-generated
identifiers to allow processes to determine whether or not they were the
last to modify a resource that's protected by the lock.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com> (github: nalind)
2016-07-15 17:21:14 -04:00
..
fsync_shared.go Add a file-backed read-write mutex implementation 2016-07-15 17:21:14 -04:00
fsync_test.go Add a file-backed read-write mutex implementation 2016-07-15 17:21:14 -04:00
fsync_unix.go Add a file-backed read-write mutex implementation 2016-07-15 17:21:14 -04:00
fsync_unsupported.go Add a file-backed read-write mutex implementation 2016-07-15 17:21:14 -04:00
README.md Add a file-backed read-write mutex implementation 2016-07-15 17:21:14 -04:00

The fsync package provides a workalike for the sync package's RWMutex, which uses a file lock on a specified file to coordinate its effects across multiple cooperating processes.