todas as opções
bullseye  ] [  bookworm  ] [  trixie  ] [  forky  ] [  sid  ]
[ Fonte: golang-github-burntsushi-locker  ]

Pacote: golang-github-burntsushi-locker-dev (0.0~git20171006.a6e239e-3)

Links para golang-github-burntsushi-locker-dev

Screenshot

Recursos de Debian:

Baixe o pacote-fonte golang-github-burntsushi-locker:

Mantenedores(as):

Fontes externas:

Pacotes similares:

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.

Download de golang-github-burntsushi-locker-dev

Baixe para todas as arquiteturas disponíveis
Arquitetura Tamanho do pacote Tamanho instalado Arquivos
all 3.8 kB17.0 kB [lista de arquivos]