File: README.md

package info (click to toggle)
golang-github-nebulouslabs-demotemutex 0.0~git20151003.0.235395f-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 64 kB
  • ctags: 10
  • sloc: makefile: 2
file content (5 lines) | stat: -rw-r--r-- 178 bytes parent folder | download
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.