summaryrefslogtreecommitdiffhomepage
path: root/version-embed.go
diff options
context:
space:
mode:
authorJoe Tsai <joetsai@digital-static.net>2024-07-13 14:34:17 -0700
committerJoe Tsai <joetsai@digital-static.net>2024-07-13 14:40:04 -0700
commit205720530036c12c913e4b3ddf8342879d32faf5 (patch)
tree62f3427e26d1bbe2caa887a4b72acda8d9556c0b /version-embed.go
parentc8f258a90427a80db831c3791742488fc8f9032a (diff)
downloadtailscale-dsnet/syncs-lock.tar.xz
tailscale-dsnet/syncs-lock.zip
syncs: add LockFunc, LockValue, LockValues, and Mutexdsnet/syncs-lock
The first 3 functions are helpers for running functions under the protection of a lock. The Mutex type is a wrapper over sync.Mutex with a Do method that runs a function under the protection of a lock. Updates #11038 Updates #cleanup Signed-off-by: Joe Tsai <joetsai@digital-static.net>
Diffstat (limited to 'version-embed.go')
0 files changed, 0 insertions, 0 deletions