summaryrefslogtreecommitdiff
path: root/src/context
Commit message (Expand)AuthorAgeFilesLines
* all: make safe for new vet analyzerRuss Cox2023-05-081-5/+5
* context: add AfterFuncDamien Neil2023-04-195-44/+532
* context: clean up test filesSameer Ajmani2023-04-053-813/+813
* context: add WithoutCancelSameer Ajmani2023-03-293-0/+90
* context: reduce init-time allocationsCarlo Alberto Ferraris2023-02-101-22/+19
* context: remove one allocation in timerCtxCarlo Alberto Ferraris2023-02-031-9/+4
* context: eliminate arbitrary timeouts in examplesBryan C. Mills2023-01-251-4/+6
* context: add APIs for setting a cancelation cause when deadline or timer expiresSameer Ajmani2023-01-202-4/+73
* context: add lock in Cause to avoid raceIan Lance Taylor2022-11-283-0/+23
* context: canceLLationRuss Cox2022-11-281-4/+4
* context: add APIs for writing and reading cancelation causeSameer Ajmani2022-11-083-20/+228
* context: convert goroutines to atomic typecuiweixie2022-08-292-6/+5
* context: Revert "context: use CompareAndSwap in cancelCtx.Done"Cuong Manh Le2022-08-081-2/+8
* context: use CompareAndSwap in cancelCtx.DoneCuong Manh Le2022-08-081-8/+2
* all: gofmt main repoRuss Cox2022-04-111-8/+8
* all: gofmt -w -r 'interface{} -> any' srcRuss Cox2021-12-132-18/+18
* context: implement Context.Value using iteration rather than recursionroudkerk2021-10-022-2/+64
* all: fix spellingsNaman Gera2021-04-101-2/+2
* context: avoid importing context package twiceKevin Burke2021-02-241-2/+1
* context: reduce contention in cancelCtx.DoneJosh Bleecher Snyder2021-02-242-13/+32
* context: fix XTestInterlockedCancelsKeiichi Hirobe2021-02-231-1/+1
* context: fix a flaky timeout in TestLayersTimeoutBryan C. Mills2020-03-312-11/+22
* context: prevent creation of invalid contextsKyle Nusbaum2020-03-183-0/+25
* context: deflake time-sensitive testsBryan C. Mills2020-03-131-42/+75
* context: mark testDeadline as a testing helper methodIan Lance Taylor2019-10-291-0/+1
* context: use fewer goroutines in WithCancel/WithTimeoutRuss Cox2019-09-263-16/+128
* context: mention asynchronous cancellation propagationEgon Elbre2019-09-181-0/+2
* all: remove os.ErrTimeoutDamien Neil2019-08-022-9/+0
* all: remove os.ErrTemporaryDamien Neil2019-08-011-1/+1
* context: document CancelFunc to be safe for simultaneous use by multiple goro...Alex Myasoedov2019-05-201-0/+1
* all: add Unwrap and Is methods to various error typesDamien Neil2019-05-042-0/+9
* all: s/cancelation/cancellation/Josh Bleecher Snyder2019-04-163-6/+6
* context: simplify stringify with a type switch喜欢兰花山丘2019-04-161-3/+3
* context: don't depend on fmtBrad Fitzpatrick2019-03-272-5/+32
* context: remove dependency on reflectMichael Fraenkel2019-03-251-2/+2
* context: avoid duplicate removeChildWeerasak Chongnguluam2018-10-031-1/+1
* context: don't talk about tools that don't existDominik Honnef2018-08-221-2/+1
* context: add docs to ExampleWithValueIoannis Georgoulas2018-06-121-0/+2
* context: add benchmarks for context cancellationCarl Mastrangelo2018-05-291-0/+24
* context: avoid defer in the cancelCtx.Err methodKeegan Carruthers-Smith2018-04-152-2/+21
* context: fix references to "d" in WithDeadline docsMichael Darakananda2017-09-211-6/+6
* all: fix article typosKunpei Sakai2017-09-151-1/+1
* runtime: improve timers scalability on multi-CPU systemsAliaksandr Valialkin2017-09-121-1/+55
* context: fix lint warning “drop = 0 from declaration”Michael Stapelberg2017-08-301-1/+1
* context: define behavior for Err before Done is closedRuss Cox2017-04-261-5/+5
* all: fix minor misspellingsEric Lagergren2017-04-031-1/+1
* context: document that Err is unspecified before DoneIan Lance Taylor2017-02-221-0/+1
* context: lazily initialize cancelCtx done channelJosh Bleecher Snyder2017-02-011-9/+22
* all: make spelling consistentBrad Fitzpatrick2016-12-081-2/+2
* context: document appropriate WithValue key type moreBrad Fitzpatrick2016-11-121-3/+7