aboutsummaryrefslogtreecommitdiff
path: root/funcs.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Unify code into default repo formatEuAndreh2025-01-221-169/+0
|
* replace "interface{}" with "any"Chris Wendt2022-06-081-3/+3
|
* AtomicSet generic valueChris Wendt2022-06-081-1/+1
|
* Make Operation genericMatt Joiner2022-06-081-12/+11
| | | | From https://github.com/anacrolix/stm/commit/80e033aa1f2218b83fb5891671ed795de72e19d5
* BIG change: generic Var[T], txVar, etc.Chris Wendt2022-06-081-16/+9
|
* use generic atomicChris Wendt2022-06-081-1/+1
|
* Add AtomicModifyMatt Joiner2021-03-111-0/+13
|
* Only wake Tx if they're still reading a modified valueMatt Joiner2020-10-021-0/+2
|
* New Tx must have completed=falseMatt Joiner2020-10-011-0/+1
| | | | 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-301-1/+5
|
* Don't sleep and only wake watchers if the variable value has changedMatt Joiner2020-09-301-1/+1
|
* Sleep by default again, and don't bother sleeping for less than 100 microsecondsMatt Joiner2020-09-231-3/+3
|
* Add custom VarValue and const for sleep backoffMatt Joiner2020-09-101-13/+18
|
* Add exponentially longer sleeping between transaction attemptsMatt Joiner2020-09-101-0/+15
|
* Reduce more allocationsMatt Joiner2020-08-281-2/+3
|
* Throw away writes in failed Select operationsMatt Joiner2019-11-071-0/+6
| | | | Note there's no test for this yet, afaik, and clearly it's not optimized. It also wasn't the cause of the issue I thought i was seeing, but is more correct.
* Make returns explicitMatt Joiner2019-11-061-40/+30
|
* Add WouldBlockMatt Joiner2019-11-061-1/+19
|
* Add failed commits profilingMatt Joiner2019-11-051-0/+13
|
* Optimize AtomicSetMatt Joiner2019-11-051-3/+3
|
* Add expvarsMatt Joiner2019-11-051-0/+6
|
* Remove global lockMatt Joiner2019-11-041-4/+4
|
* Use atomic pointers for Var dataMatt Joiner2019-11-041-7/+1
|
* Optimize a bunch of stuffMatt Joiner2019-10-311-6/+19
|
* Merge branch 'master' into var-condsMatt Joiner2019-10-311-4/+22
|\ | | | | | | | | | | | | | | | | * 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-4/+22
| |
* | Get rid of globalCondMatt Joiner2019-10-231-4/+1
| |
* | Register transaction condition with each read Var onlyMatt Joiner2019-10-231-8/+4
|/
* Break up the stm.go fileMatt Joiner2019-10-231-0/+80