Commit Graph

7 Commits

Author SHA1 Message Date
Brian Picciano
f5cea76cb7 mtest/massert: rename a bunch of functions 2019-03-10 19:23:37 -04:00
Brian Picciano
4b446a0efc mctx: refactor so that contexts no longer carry mutable data
This change required refactoring nearly every package in this project,
but it does a lot to simplify mctx and make other code using it easier
to think about.

Other code, such as mlog and mcfg, had to be slightly modified for this
change to work as well.
2019-02-07 19:42:12 -05:00
Brian Picciano
5bd0790f6e mctx: implement BreadthFirstVisit 2019-01-30 16:04:58 -05:00
Brian Picciano
92ecb09707 mctx: make GetSetMutableValue lock on the key itself, not the entire map, to allow more throughput when being used on multiple keys at once 2019-01-10 17:22:58 -05:00
Brian Picciano
47061cec4e mctx: add Root function, and update some docs 2018-11-30 15:11:41 -05:00
Brian Picciano
cb65787f37 mctx: GetSetMutableValue. Not sure if I'm really going to use this or not 2018-10-28 22:17:33 -04:00
Brian Picciano
e349d0fbd8 mctx: moved ctx code from m and kept fleshing it out, trying to figure out how to incorporate Logger 2018-10-28 19:34:26 -04:00