Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Unify code into default repo format | EuAndreh | 2025-01-22 | 1 | -231/+0 |
| | |||||
* | replace "interface{}" with "any" | Chris Wendt | 2022-06-08 | 1 | -2/+2 |
| | |||||
* | remove unreachable code | Chris Wendt | 2022-06-08 | 1 | -1/+0 |
| | |||||
* | Make Operation generic | Matt Joiner | 2022-06-08 | 1 | -1/+1 |
| | | | | From https://github.com/anacrolix/stm/commit/80e033aa1f2218b83fb5891671ed795de72e19d5 | ||||
* | BIG change: generic Var[T], txVar, etc. | Chris Wendt | 2022-06-08 | 1 | -14/+23 |
| | |||||
* | use generic atomic | Chris Wendt | 2022-06-08 | 1 | -2/+2 |
| | |||||
* | Remove retry profiles on Tx recycle | Matt Joiner | 2021-03-11 | 1 | -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 Add | Matt Joiner | 2021-03-11 | 1 | -1/+1 |
| | |||||
* | Only wake Tx if they're still reading a modified value | Matt Joiner | 2020-10-02 | 1 | -0/+2 |
| | |||||
* | Add retry profiling | Matt Joiner | 2020-10-02 | 1 | -12/+30 |
| | |||||
* | New Tx must have completed=false | Matt Joiner | 2020-10-01 | 1 | -1/+1 |
| | | | | This uncovers a race condition where new Tx are already marked completed. | ||||
* | Wake watchers until the var changes again | Matt Joiner | 2020-09-30 | 1 | -11/+16 |
| | |||||
* | Add custom VarValue and const for sleep backoff | Matt Joiner | 2020-09-10 | 1 | -8/+8 |
| | |||||
* | Add exponentially longer sleeping between transaction attempts | Matt Joiner | 2020-09-10 | 1 | -8/+10 |
| | |||||
* | Reduce more allocations | Matt Joiner | 2020-08-28 | 1 | -10/+24 |
| | |||||
* | Dedicated tx locks type | Matt Joiner | 2020-08-28 | 1 | -10/+33 |
| | | | | Reduces allocations | ||||
* | Count wakes for unchanged var version | Matt Joiner | 2020-08-28 | 1 | -0/+5 |
| | |||||
* | Panic when a transaction blocks after reading nothing | Matt Joiner | 2020-04-15 | 1 | -0/+3 |
| | |||||
* | Add Tx.String | Matt Joiner | 2019-11-07 | 1 | -0/+5 |
| | |||||
* | Make returns explicit | Matt Joiner | 2019-11-06 | 1 | -8/+0 |
| | |||||
* | No need to reset Tx before putting it in the Pool | Matt Joiner | 2019-11-05 | 1 | -1/+0 |
| | |||||
* | Optimize AtomicSet | Matt Joiner | 2019-11-05 | 1 | -7/+0 |
| | |||||
* | Add expvars | Matt Joiner | 2019-11-05 | 1 | -0/+1 |
| | |||||
* | Reduce transaction locking on Tx.wait | Matt Joiner | 2019-11-04 | 1 | -2/+2 |
| | |||||
* | Remove global lock | Matt Joiner | 2019-11-04 | 1 | -7/+59 |
| | |||||
* | Use atomic pointers for Var data | Matt Joiner | 2019-11-04 | 1 | -11/+5 |
| | |||||
* | Optimize a bunch of stuff | Matt Joiner | 2019-10-31 | 1 | -2/+17 |
| | |||||
* | Merge branch 'master' into var-conds | Matt Joiner | 2019-10-31 | 1 | -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 Atomically | Matt Joiner | 2019-10-31 | 1 | -0/+8 |
| | | |||||
| * | Panic when trying to set a nil Var | Matt Joiner | 2019-10-29 | 1 | -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 Var | Matt Joiner | 2019-10-25 | 1 | -0/+3 |
| | | | | | | | | This wasn't caught, and would cause errors later that weren't easy to trace. | ||||
* | | Get rid of globalCond | Matt Joiner | 2019-10-23 | 1 | -2/+2 |
| | | |||||
* | | Register transaction condition with each read Var only | Matt Joiner | 2019-10-23 | 1 | -1/+15 |
|/ | |||||
* | Improve comment on Tx.verify | Matt Joiner | 2019-10-23 | 1 | -3/+1 |
| | |||||
* | Break up the stm.go file | Matt Joiner | 2019-10-23 | 1 | -0/+74 |