File: README.md

package info (click to toggle)
golang-github-nebulouslabs-demotemutex 0.0~git20151003.0.235395f-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 64 kB
  • sloc: makefile: 2
file content (5 lines) | stat: -rw-r--r-- 178 bytes parent folder | download | duplicates (2)
1
2
3
4
5
demotelock
----------

Package demotemutex provides an extention to sync.Mutex that allows a writelock
to be demoted to a readlock without releasing control to other writelocks.