aboutsummaryrefslogtreecommitdiff
path: root/tx.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Unify code into default repo formatEuAndreh2025-01-221-231/+0
|
* replace "interface{}" with "any"Chris Wendt2022-06-081-2/+2
|
* remove unreachable codeChris Wendt2022-06-081-1/+0
|
* Make Operation genericMatt Joiner2022-06-081-1/+1
| | | | From https://github.com/anacrolix/stm/commit/80e033aa1f2218b83fb5891671ed795de72e19d5
* BIG change: generic Var[T], txVar, etc.Chris Wendt2022-06-081-14/+23
|
* use generic atomicChris Wendt2022-06-081-2/+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
|
* Only wake Tx if they're still reading a modified valueMatt Joiner2020-10-021-0/+2
|
* Add retry profilingMatt Joiner2020-10-021-12/+30
|
* New Tx must have completed=falseMatt Joiner2020-10-011-1/+1
| | | | This uncovers a race condition where new Tx are already marked completed.
* Wake watchers until the var changes againMatt Joiner2020-09-301-11/+16
|
* Add custom VarValue and const for sleep backoffMatt Joiner2020-09-101-8/+8
|
* Add exponentially longer sleeping between transaction attemptsMatt Joiner2020-09-101-8/+10
|
* Reduce more allocationsMatt Joiner2020-08-281-10/+24
|
* Dedicated tx locks typeMatt Joiner2020-08-281-10/+33
| | | | Reduces allocations
* Count wakes for unchanged var versionMatt Joiner2020-08-281-0/+5
|
* Panic when a transaction blocks after reading nothingMatt Joiner2020-04-151-0/+3
|
* Add Tx.StringMatt Joiner2019-11-071-0/+5
|
* Make returns explicitMatt Joiner2019-11-061-8/+0
|
* No need to reset Tx before putting it in the PoolMatt Joiner2019-11-051-1/+0
|
* Optimize AtomicSetMatt Joiner2019-11-051-7/+0
|
* Add expvarsMatt Joiner2019-11-051-0/+1
|
* Reduce transaction locking on Tx.waitMatt Joiner2019-11-041-2/+2
|
* Remove global lockMatt Joiner2019-11-041-7/+59
|
* Use atomic pointers for Var dataMatt Joiner2019-11-041-11/+5
|
* Optimize a bunch of stuffMatt Joiner2019-10-311-2/+17
|
* Merge branch 'master' into var-condsMatt Joiner2019-10-311-0/+8
|\ | | | | | | | | | | | | | | | | * master: Add Tx.Return and a return value from Atomically Panic when trying to set a nil Var # Conflicts: # funcs.go
| * Add Tx.Return and a return value from AtomicallyMatt Joiner2019-10-311-0/+8
| |
| * Panic when trying to set a nil VarMatt Joiner2019-10-291-0/+3
| | | | | | | | | | | | This wasn't caught, and would cause errors later that weren't easy to trace. (cherry picked from commit 7b273432145605d367557e60ab51b9eb7dbbffeb)
* | Panic when trying to set a nil VarMatt Joiner2019-10-251-0/+3
| | | | | | | | This wasn't caught, and would cause errors later that weren't easy to trace.
* | Get rid of globalCondMatt Joiner2019-10-231-2/+2
| |
* | Register transaction condition with each read Var onlyMatt Joiner2019-10-231-1/+15
|/
* Improve comment on Tx.verifyMatt Joiner2019-10-231-3/+1
|
* Break up the stm.go fileMatt Joiner2019-10-231-0/+74