Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Unify code into default repo format | EuAndreh | 2025-01-22 | 1 | -169/+0 |
| | |||||
* | replace "interface{}" with "any" | Chris Wendt | 2022-06-08 | 1 | -3/+3 |
| | |||||
* | AtomicSet generic value | Chris Wendt | 2022-06-08 | 1 | -1/+1 |
| | |||||
* | Make Operation generic | Matt Joiner | 2022-06-08 | 1 | -12/+11 |
| | | | | From https://github.com/anacrolix/stm/commit/80e033aa1f2218b83fb5891671ed795de72e19d5 | ||||
* | BIG change: generic Var[T], txVar, etc. | Chris Wendt | 2022-06-08 | 1 | -16/+9 |
| | |||||
* | use generic atomic | Chris Wendt | 2022-06-08 | 1 | -1/+1 |
| | |||||
* | Add AtomicModify | Matt Joiner | 2021-03-11 | 1 | -0/+13 |
| | |||||
* | Only wake Tx if they're still reading a modified value | Matt Joiner | 2020-10-02 | 1 | -0/+2 |
| | |||||
* | New Tx must have completed=false | Matt Joiner | 2020-10-01 | 1 | -0/+1 |
| | | | | This uncovers a race condition where new Tx are already marked completed. | ||||
* | Tidy up newTx usage and recycle from WouldBlock | Matt Joiner | 2020-10-01 | 1 | -2/+7 |
| | |||||
* | Wake watchers until the var changes again | Matt Joiner | 2020-09-30 | 1 | -1/+5 |
| | |||||
* | Don't sleep and only wake watchers if the variable value has changed | Matt Joiner | 2020-09-30 | 1 | -1/+1 |
| | |||||
* | Sleep by default again, and don't bother sleeping for less than 100 microseconds | Matt Joiner | 2020-09-23 | 1 | -3/+3 |
| | |||||
* | Add custom VarValue and const for sleep backoff | Matt Joiner | 2020-09-10 | 1 | -13/+18 |
| | |||||
* | Add exponentially longer sleeping between transaction attempts | Matt Joiner | 2020-09-10 | 1 | -0/+15 |
| | |||||
* | Reduce more allocations | Matt Joiner | 2020-08-28 | 1 | -2/+3 |
| | |||||
* | Throw away writes in failed Select operations | Matt Joiner | 2019-11-07 | 1 | -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 explicit | Matt Joiner | 2019-11-06 | 1 | -40/+30 |
| | |||||
* | Add WouldBlock | Matt Joiner | 2019-11-06 | 1 | -1/+19 |
| | |||||
* | Add failed commits profiling | Matt Joiner | 2019-11-05 | 1 | -0/+13 |
| | |||||
* | Optimize AtomicSet | Matt Joiner | 2019-11-05 | 1 | -3/+3 |
| | |||||
* | Add expvars | Matt Joiner | 2019-11-05 | 1 | -0/+6 |
| | |||||
* | Remove global lock | Matt Joiner | 2019-11-04 | 1 | -4/+4 |
| | |||||
* | Use atomic pointers for Var data | Matt Joiner | 2019-11-04 | 1 | -7/+1 |
| | |||||
* | Optimize a bunch of stuff | Matt Joiner | 2019-10-31 | 1 | -6/+19 |
| | |||||
* | Merge branch 'master' into var-conds | Matt Joiner | 2019-10-31 | 1 | -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 Atomically | Matt Joiner | 2019-10-31 | 1 | -4/+22 |
| | | |||||
* | | Get rid of globalCond | Matt Joiner | 2019-10-23 | 1 | -4/+1 |
| | | |||||
* | | Register transaction condition with each read Var only | Matt Joiner | 2019-10-23 | 1 | -8/+4 |
|/ | |||||
* | Break up the stm.go file | Matt Joiner | 2019-10-23 | 1 | -0/+80 |