Simple Golang package for conveniently using named read/write locks
16.30 KB
built 2026-10-29 08:22:46 GMT
Description
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.
Dependencies
4 totalRequires3
- go-rpm-macros
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides1
- golang-github-burntsushi-locker-devel = 0-20.20190210gita6e239e.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| golang-github-burntsushi-locker.spec | 4.19 KB |
| locker-a6e239ea1c69bff1cfdb20c4b73dadf52f784b6a.tar.gz | 2.06 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
