File: control

package info (click to toggle)
golang-github-burntsushi-locker 0.0~git20171006.a6e239e-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, buster-backports
  • size: 64 kB
  • sloc: makefile: 7
file content (30 lines) | stat: -rw-r--r-- 1,313 bytes parent folder | download
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.