1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
Source: golang-github-burntsushi-locker
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Uploaders: Anthony Fok <foka@debian.org>
Section: devel
Testsuite: autopkgtest-pkg-go
Priority: optional
Build-Depends: debhelper-compat (= 12),
dh-golang,
golang-any
Standards-Version: 4.5.0
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-burntsushi-locker
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-burntsushi-locker.git
Homepage: https://github.com/BurntSushi/locker
Rules-Requires-Root: no
XS-Go-Import-Path: github.com/BurntSushi/locker
Package: golang-github-burntsushi-locker-dev
Architecture: all
Depends: ${misc:Depends}
Multi-Arch: foreign
Description: simple Go package for conveniently using named read/write locks
Package locker is a simple Go 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.
|