Commit Graph

11 Commits

Author SHA1 Message Date
Brian Picciano
e1e52db208 refactor everything to use context's annotation system, making some significant changes to annotations themselves along the way 2019-02-24 15:36:07 -05:00
Brian Picciano
000a57689d mctx: implement beginnings of Annotations functionality 2019-02-08 18:44:20 -05: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
0c2c49501e mctx: refactor implementation of Context to not use a state stored as a value, but to just wrap a context.Context 2019-02-03 19:25:46 -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
57bd022093 mrun: implement Thread and Wait 2018-12-05 23:40:46 -05:00
Brian Picciano
b5c676b5c8 mlog: complete refactor again, eliminating the go-routine, which allowed a lot of other things to fall into place nicely 2018-11-30 16:27:18 -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