summaryrefslogtreecommitdiff
path: root/src/sync
Commit message (Expand)AuthorAgeFilesLines
* all: fix a lot of commentscui fliter2023-05-101-3/+3
* sync: implement OnceFunc, OnceValue, and OnceValuesAustin Clements2023-03-312-0/+362
* all: add a few links in package godocsDaniel Martí2023-03-251-1/+1
* sync: fix TestCondSignalStealing flakeCollin Wright2023-03-221-6/+1
* runtime: fix signature for linked functionsAdin Scannell2023-02-091-1/+1
* sync: document memory model for Swap/CompareAnd{Swap,Delete} in MapChangkun Ou2023-01-201-3/+5
* sync/atomic: fix the note of atomic.Storecsuzhang2023-01-091-1/+1
* sync: remove unused constChangkun Ou2022-12-121-1/+0
* sync/atomic: hint users of old API to use new type-based API insteadKeith Randall2022-11-171-1/+40
* sync/atomic: allow linked list of atomic pointers againRuss Cox2022-11-152-2/+9
* sync: add new Map method Swap, CompareAndSwap, CompareAndDeleteChangkun Ou2022-11-154-45/+536
* sync/atomic: disallow type conversions of atomic.Pointer[T]Mateusz Poliwczak2022-11-071-0/+4
* sync: use atomic.Pointer for entryChangkun Ou2022-10-311-21/+22
* sync/atomic: rename "ifaceWords" to "efaceWords"hopehook2022-09-291-14/+14
* sync: clarify Cond.Wait documentationIsaiah Becker-Mayer2022-09-261-1/+1
* cmd/compile,sync: make accessing address of zero offset struct field inline c...Cuong Manh Le2022-09-191-47/+33
* runtime: make the wait reason for a g blocked on a mutex more specificMichael Anthony Knyszek2022-09-162-3/+9
* sync: convert RWMutex.{readerCount,readerWait} to atomic typeCuong Manh Le2022-09-091-14/+14
* sync/atomic: reduce inlining cost for atomic types methodsCuong Manh Le2022-09-091-33/+47
* Revert "sync: convert Once.done to atomic type"Ian Lance Taylor2022-09-071-7/+7
* all: make sure *Pointer[T]'s methods are inlined as intendedCuong Manh Le2022-09-061-0/+4
* sync: convert Once.done to atomic typecuiweixie2022-09-061-7/+7
* sync: switch Map to use atomic.PointerJoe Tsai2022-08-291-16/+23
* sync: use atomic.Uint64 for WaitGroup stateCuong Manh Le2022-08-191-35/+12
* sync/atomic: remove test64err in testRuss Cox2022-08-051-83/+4
* sync: add more notes about Cond behaviorKevin Burke2022-06-171-0/+14
* runtime: write much more direct test for semaphore waiter scalabilityMichael Anthony Knyszek2022-06-161-112/+0
* sync: improve linearity test robustnessMichael Anthony Knyszek2022-06-131-7/+29
* sync: move lock linearity test and treat it like a performance testMichael Anthony Knyszek2022-06-131-0/+90
* sync/atomic: clarify that 8-byte alignment of variables is due to escapeWill Hawkins2022-06-071-2/+3
* runtime, sync, sync/atomic: document happens-before guaranteesRuss Cox2022-06-068-1/+49
* sync/atomic: note that alignment responsibility doesn't apply to typesMichael Pratt2022-06-031-2/+3
* all: gofmt main repoRuss Cox2022-05-191-1/+0
* sync: remove the redundant logic on sync.(*Pool).PutJason76022022-05-081-3/+1
* sync/atomic: don't run 64-bit uintptr tests on 32-bit systemsIan Lance Taylor2022-05-061-0/+3
* sync/atomic: add typed atomic valuesRuss Cox2022-05-042-12/+1328
* sync/atomic: use consistent first-store-in-progress markerKeith Randall2022-04-291-4/+4
* runtime: differentiate "user" and "system" throwsMichael Pratt2022-04-282-4/+6
* all: gofmt main repoRuss Cox2022-04-113-9/+13
* all: separate doc comment from //go: directivesRuss Cox2022-04-051-0/+1
* all: remove trailing blank doc comment linesRuss Cox2022-04-012-2/+0
* all: gofmt -w -r 'interface{} -> any' srcRuss Cox2021-12-1312-113/+113
* sync: in TryLock try to acquire mutex even if state is not 0Ian Lance Taylor2021-11-161-6/+15
* sync: clarify the validity to call Map methods inside RangeChangkun Ou2021-11-112-2/+53
* all: remove more leftover // +build linesTobias Klauser2021-11-062-2/+0
* sync/atomic: disable GC during TestHammerStoreLoadMichael Anthony Knyszek2021-11-041-0/+6
* sync: add PoolStarvation benchmarkRuslan Andreev2021-11-011-0/+20
* sync: add Mutex.TryLock, RWMutex.TryLock, RWMutex.TryRLockRuss Cox2021-10-294-0/+120
* all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor)Russ Cox2021-10-283-3/+0
* sync/atomic: use a better first-store-in-progress markerKeith Randall2021-10-261-5/+6