aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Move direct dep out of indirect require blockMatt Joiner2022-11-061-1/+1
|
* exclude github.com/benbjohnson/immutable v0.4.0Matt Joiner2022-11-061-0/+2
|
* Revert "missing Get func added (#6)" (#8)ucwong2022-10-282-27/+19
| | | This reverts commit f0e9444c8b25fbe9e0c6f040b8a7493aa1f2501c.
* Add go test CI actionMatt Joiner2022-10-271-0/+23
|
* missing Get func added (#6)ucwong2022-10-262-19/+27
|
* Merge pull request #4 from chrismwendt/genericsMatt Joiner2022-06-1419-285/+286
|\ | | | | Generics
| * replace "interface{}" with "any"Chris Wendt2022-06-088-46/+46
| |
| * AtomicSet generic valueChris Wendt2022-06-081-1/+1
| |
| * generic versionedValue[T]Chris Wendt2022-06-082-9/+9
| |
| * eliminate some type assertionsChris Wendt2022-06-083-11/+11
| |
| * remove unreachable codeChris Wendt2022-06-081-1/+0
| |
| * use time.SinceChris Wendt2022-06-081-1/+1
| |
| * remove unnecessary type parametersChris Wendt2022-06-087-25/+25
| |
| * update READMEChris Wendt2022-06-082-11/+8
| |
| * remove unused varSnapshotChris Wendt2022-06-081-6/+1
| |
| * Use go master in CircleCIChris Wendt2022-06-081-1/+1
| | | | | | | | From https://github.com/anacrolix/stm/commit/8a06827bbcce34df143e4a47a1c5c7e8bf7c0433
| * Missing Operation type param in cmd/santa-exampleChris Wendt2022-06-081-1/+1
| | | | | | | | From https://github.com/anacrolix/stm/commit/6ce9dfc42c83a5d5963c23d85ffebffe0323432e
| * Make Operation genericMatt Joiner2022-06-084-21/+21
| | | | | | | | From https://github.com/anacrolix/stm/commit/80e033aa1f2218b83fb5891671ed795de72e19d5
| * BIG change: generic Var[T], txVar, etc.Chris Wendt2022-06-0814-188/+203
| |
| * use generic atomicChris Wendt2022-06-085-7/+15
| |
| * go mod tidyChris Wendt2022-06-072-20/+7
| |
| * go mod edit -go=1.18Chris Wendt2022-06-071-1/+1
| |
* | Bump test timeout (#3)Chris Wendt2022-06-081-1/+1
|/
* Create package-level example doc test from READMEMatt Joiner2021-08-242-76/+83
| | | | This should synchronize the examples more with the actual API by actually running them.
* Update reference badgeMatt Joiner2021-08-241-1/+2
|
* Remove retry profiles on Tx recycleMatt Joiner2021-03-111-0/+3
| | | | This may fix a memory leak where the *Tx in retry profile keys holds on to old Tx and their writes.
* skip the retry profile AddMatt Joiner2021-03-111-1/+1
|
* Add AtomicModifyMatt Joiner2021-03-111-0/+13
|
* Only wake Tx if they're still reading a modified valueMatt Joiner2020-10-023-3/+9
|
* Use builtin eq var in rate and stmutilMatt Joiner2020-10-022-2/+2
| | | | In particular, in the rate limiter this gives a massive performance increase.
* Add retry profilingMatt Joiner2020-10-023-18/+42
|
* Add benchmark utilsMatt Joiner2020-10-018-0/+117
|
* New Tx must have completed=falseMatt Joiner2020-10-012-1/+2
| | | | This uncovers a race condition where new Tx are already marked completed.
* Tidy up newTx usage and recycle from WouldBlockMatt Joiner2020-10-011-2/+7
|
* Wake watchers until the var changes againMatt Joiner2020-09-304-19/+30
|
* Don't sleep and only wake watchers if the variable value has changedMatt Joiner2020-09-302-3/+10
|
* Sleep by default again, and don't bother sleeping for less than 100 microsecondsMatt Joiner2020-09-231-3/+3
|
* Copy circle CI config from anacrolix/dhtMatt Joiner2020-09-101-21/+49
|
* Document that Operation return value isn't in the examplesMatt Joiner2020-09-101-0/+3
|
* Move some benchmarks to be external testsMatt Joiner2020-09-102-86/+152
|
* Add custom VarValue and const for sleep backoffMatt Joiner2020-09-106-33/+101
|
* Add exponentially longer sleeping between transaction attemptsMatt Joiner2020-09-102-8/+25
|
* Add .circleci/config.ymlMatt Joiner2020-09-101-0/+26
|
* Update README.mdMatt Joiner2020-09-101-5/+2
|
* Reduce more allocationsMatt Joiner2020-08-282-12/+27
|
* Dedicated tx locks typeMatt Joiner2020-08-281-10/+33
| | | | Reduces allocations
* Add thundering herd testsMatt Joiner2020-08-281-0/+86
|
* Count wakes for unchanged var versionMatt Joiner2020-08-281-0/+5
|
* Panic when a transaction blocks after reading nothingMatt Joiner2020-04-154-11/+56
|
* Rework ContextDoneVar to not leak done ContextsMatt Joiner2019-11-071-1/+7
|