summaryrefslogtreecommitdiffhomepage
path: root/syncs
AgeCommit message (Expand)AuthorFilesLines
2024-04-30syncs: fix AtomicValue for interface kinds (#11943)Joe Tsai2-6/+68
2024-04-22syncs: fix flaky test by deleting the code it tested (Watch)Brad Fitzpatrick2-174/+0
2024-04-16all: use Go 1.22 range-over-intBrad Fitzpatrick1-1/+1
2024-03-19syncs: add Swap methodAndrew Dunham2-0/+22
2023-11-18Fix potential goroutine leak in syncs/watchdog.goUri Gorelik1-1/+4
2023-10-18syncs: add Map.LoadFunc (#9869)Joe Tsai2-3/+30
2023-10-06syncs: add Map.LoadOrInit for lazily initialized valuesJames Tucker2-1/+25
2023-08-17all: use Go 1.21 slices, maps instead of x/exp/{slices,maps}Brad Fitzpatrick1-2/+1
2023-08-17syncs: add map.Clear() methodDenton Gentry2-0/+26
2023-06-28syncs: add ShardedMap.MutateBrad Fitzpatrick2-1/+65
2023-06-25syncs: add ShardedMap typeBrad Fitzpatrick2-0/+155
2023-04-27syncs: add Map.Len to get the length of the MapJames Tucker1-0/+7
2023-04-27syncs: add documentation to Map.RangeJames Tucker1-0/+2
2023-04-19syncs: relax TestWatchMultipleValues timing on WindowsJames Tucker1-4/+7
2023-04-14.github/workflows: reenable Windows CI, disable broken testsJames Tucker1-0/+4
2023-03-09syncs: add WaitGroup wrapper (#7481)Joe Tsai1-0/+16
2023-02-25syncs: re-enable TestWatchMultipleValuesDenton Gentry1-8/+0
2023-01-27all: update copyright and license headersWill Norris6-18/+12
2022-11-10syncs: add Map (#6260)Joe Tsai2-0/+132
2022-11-04all: remove old +build tagsBrad Fitzpatrick1-1/+0
2022-08-04syncs: add generic AtomicValueMaisem Ali1-0/+43
2022-08-04syncs, all: move to using Go's new atomic types instead of oursBrad Fitzpatrick1-36/+0
2022-03-17syncs: use TryLock and TryRLock instead of unsafeJosh Bleecher Snyder1-35/+9
2021-10-27syncs: mark as safe for Go 1.18Josh Bleecher Snyder2-4/+4
2021-08-17syncs: bump known good version to include Go 1.17Josh Bleecher Snyder2-4/+4
2021-08-05all: gofmt with Go 1.17Josh Bleecher Snyder2-0/+2
2021-07-20wgengine/{monitor,router}: restore Linux ip rules when systemd deletes themBrad Fitzpatrick1-0/+10
2021-06-23syncs: add AtomicUint32David Crawshaw1-0/+11
2021-06-18staticcheck.conf: turn off noisy lint errorsDavid Crawshaw2-3/+1
2021-05-04syncs: stop running TestWatchMultipleValues on CIJosh Bleecher Snyder1-3/+2
2021-03-27syncs: disable TestWatchMultipleValues on Windows CI buildsJosh Bleecher Snyder1-0/+9
2021-03-23syncs: add SemaphoreBrad Fitzpatrick2-2/+72
2020-11-24Fix receiver in order to be consistent: syncs.WaitGroupChanDmytro Tananayskiy1-4/+4
2020-09-11syncs: add Watch, for monitoring mutex contentionJosh Bleecher Snyder2-0/+166
2020-09-09syncs: add AssertLockedJosh Bleecher Snyder3-1/+182
2020-05-29syncs: add AtomicBoolBrad Fitzpatrick1-0/+15
2020-03-12syncs: add new package for extra sync typesBrad Fitzpatrick2-0/+116