summaryrefslogtreecommitdiffhomepage
path: root/syncs
AgeCommit message (Expand)AuthorFilesLines
2026-03-06all: use Go 1.26 things, run most gofix modernizersBrad Fitzpatrick3-10/+7
2026-01-23all: remove AUTHORS file and references to itWill Norris16-16/+16
2025-11-26syncs: add means of declare locking assumptions for debug mode validationBrad Fitzpatrick2-0/+9
2025-11-16syncs: add Mutex/RWMutex alias/wrappers for future mutex debuggingBrad Fitzpatrick4-3/+40
2025-08-29syncs: add Semaphore.Len (#16981)Joe Tsai2-0/+21
2025-08-28syncs: delete WaitGroup and use sync.WaitGroup.Go in Go 1.25Joe Tsai2-18/+3
2025-05-30syncs: fix AtomicValue.CompareAndSwap (#16137)Joe Tsai2-2/+25
2024-12-19syncs: add ShardedInt expvar.Var typeJames Tucker6-0/+403
2024-12-18syncs: add MutexValue (#14422)Joe Tsai2-0/+96
2024-10-09syncs: allocate map with Map.WithLock (#13755)Joe Tsai1-0/+3
2024-10-09syncs: delete Map.Range, update callers to iteratorsBrad Fitzpatrick2-22/+4
2024-10-09syncs: add iterators to Map (#13739)Joe Tsai1-0/+48
2024-07-11syncs: add Map.WithLock to allow mutations to the underlying map (#8101)Joe Tsai2-13/+15
2024-07-10syncs: add generic Pool (#12759)Joe Tsai2-0/+61
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