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
|
Source: golang-github-burntsushi-locker
Section: devel
Priority: optional
Maintainer: Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>
Uploaders: Anthony Fok <foka@debian.org>
Build-Depends: debhelper (>= 11),
dh-golang,
golang-any
Standards-Version: 4.1.4
Homepage: https://github.com/BurntSushi/locker
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
XS-Go-Import-Path: github.com/BurntSushi/locker
Testsuite: autopkgtest-pkg-go
Package: golang-github-burntsushi-locker-dev
Architecture: all
Depends: ${misc:Depends}
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.
|