commit | 7e3bc9618c9b3e8287a0ad380fc95ae386fef75c | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Mon May 04 17:10:16 2020 -0700 |
committer | Tom Cherry <tomcherry@google.com> | Mon May 04 17:44:52 2020 -0700 |
tree | e4e8392f34b5a8925057e656663a0de7d9856ac2 | |
parent | e7c73ef630ab42276a3eccad137bb8c5133ea398 [diff] |
logd: start cleaning up LogReaderThread 1) We can use real member functions with std::thread and std::function, so use those instead of the 'me' pointer. 2) Don't expose member variables directly. 3) Rename and document member variables, since all of their references are being touched anyway. Test: logging unit tests Change-Id: I9a357a3ea8691433d58687c95356b984b83e9c36