| Commit message (Collapse) | Author | Files | Lines | ||
|---|---|---|---|---|---|
| 2019-11-06 | Add WouldBlock | Matt Joiner | 1 | -1/+19 | |
| 2019-11-05 | Cache ContextDoneVars | Matt Joiner | 2 | -5/+38 | |
| Note that nothing currently flushes them. Could probably flush them when they're done, and the early return will take care of the rest. | |||||
| 2019-11-05 | Add failed commits profiling | Matt Joiner | 1 | -0/+13 | |
| 2019-11-05 | Add stmutil.List | Matt Joiner | 1 | -0/+2 | |
| 2019-11-05 | No need to reset Tx before putting it in the Pool | Matt Joiner | 1 | -1/+0 | |
| 2019-11-05 | Optimize AtomicSet | Matt Joiner | 3 | -10/+14 | |
| 2019-11-05 | Add expvars | Matt Joiner | 4 | -1/+14 | |
| 2019-11-04 | Update go.mod | Matt Joiner | 2 | -0/+3 | |
| 2019-11-04 | Add parallel PingPong benchmark | Matt Joiner | 2 | -1/+27 | |
| This should help demonstrate any speed-up from removing global synchronization primitives. | |||||
| 2019-11-04 | Fix TestDecrement | Matt Joiner | 1 | -6/+4 | |
| With only a single cpu it would spin endlessly without a synchronization point (since changing AtomicGet to use atomics). | |||||
| 2019-11-04 | Use atomic.Value for Var state | Matt Joiner | 1 | -14/+7 | |
| 2019-11-04 | Reduce transaction locking on Tx.wait | Matt Joiner | 1 | -2/+2 | |
| 2019-11-04 | Remove global lock | Matt Joiner | 4 | -19/+66 | |
| 2019-11-04 | Use atomic pointers for Var data | Matt Joiner | 3 | -23/+31 | |
| 2019-11-03 | Transfer project stewardship to anacrolix | Matt Joiner | 5 | -7/+11 | |
| See https://github.com/lukechampine/stm/issues/3#issuecomment-549087541. | |||||
| 2019-11-02 | Add stm friendly rate limiter | Matt Joiner | 2 | -0/+608 | |
| The tests are from golang.org/x/time/rate, and the limiter tries to have a similar API. | |||||
| 2019-11-02 | stmutil.ContextDoneVar: Return true Var if the context is already done | Matt Joiner | 1 | -0/+3 | |
| This prevents needless races, such as in some of the rate limiting tests. | |||||
| 2019-11-01 | Add stmutil containers and ContextDoneVar | Matt Joiner | 4 | -0/+354 | |
| 2019-10-31 | Optimize a bunch of stuff | Matt Joiner | 3 | -13/+42 | |
| 2019-10-31 | Add Tx.Return and a return value from Atomically | Matt Joiner | 3 | -22/+42 | |
| 2019-10-29 | Panic when trying to set a nil Var | Matt Joiner | 1 | -0/+3 | |
| This wasn't caught, and would cause errors later that weren't easy to trace. (cherry picked from commit 7b273432145605d367557e60ab51b9eb7dbbffeb) | |||||
| 2019-10-25 | Panic when trying to set a nil Var | Matt Joiner | 1 | -0/+3 | |
| This wasn't caught, and would cause errors later that weren't easy to trace. | |||||
| 2019-10-23 | Get rid of globalCond | Matt Joiner | 3 | -7/+3 | |
| 2019-10-23 | Register transaction condition with each read Var only | Matt Joiner | 3 | -13/+27 | |
| 2019-10-23 | Improve comment on Tx.verify | Matt Joiner | 1 | -3/+1 | |
| 2019-10-23 | Add PingPong test and benchmark | Matt Joiner | 2 | -0/+46 | |
| 2019-10-23 | Break up the stm.go file | Matt Joiner | 7 | -269/+274 | |
| 2019-10-23 | Put benchmarks in their own file | Matt Joiner | 2 | -122/+127 | |
| 2019-10-23 | Make the santa example a cmd | Matt Joiner | 1 | -2/+2 | |
