diff options
| author | Joe Tsai <joetsai@digital-static.net> | 2024-07-13 14:34:17 -0700 |
|---|---|---|
| committer | Joe Tsai <joetsai@digital-static.net> | 2024-07-13 14:40:04 -0700 |
| commit | 205720530036c12c913e4b3ddf8342879d32faf5 (patch) | |
| tree | 62f3427e26d1bbe2caa887a4b72acda8d9556c0b /version-embed.go | |
| parent | c8f258a90427a80db831c3791742488fc8f9032a (diff) | |
| download | tailscale-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
