Simple Golang package for conveniently using named read/write locks
Package Locker is a simple package to manage named ReadWrite mutexes. These appear to be especially useful for synchronizing access to session based information in web applications. The common use case is to use the package level functions, which use a package level set of locks (safe to use from multiple goroutines simultaneously). However, you may also create a new separate set of locks. All locks are implemented with read-write mutexes. To use them like a regular mutex, simply ignore the RLock/RUnlock functions. This package contains the source code needed for building packages that reference the following Go import paths: – github.com/BurntSushi/locker
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 0-0.7.20190210gita6e239e.fc35 | - |
Fedora 35 | 0-0.7.20190210gita6e239e.fc35 | - |
Fedora 34 | 0-0.6.20190210gita6e239e.fc34 | - |
You can contact the maintainers of this package via email at
golang-github-burntsushi-locker dash maintainers at fedoraproject dot org
.