commit | 79fc288f10814d5862a2320d0e0732040a4823fe | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Fri Nov 20 09:30:29 2020 -0800 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Tue Dec 15 21:46:28 2020 +0000 |
tree | 9100e237ca73ceb90ff869146b5ef4110ccaabac | |
parent | 69522b36f776a2a8ad7e2ce69cfb58f60165b3d5 [diff] |
storaged: protect global proto_loaded proto_loaded is not thread safe, so we must protect it with a mutex proto_lock. Signed-off-by: hanhongli@360.cn Signed-off-by: gongguang@360.cn Signed-off-by: Mark Salyzyn <salyzyn@google.com> Bug: 170732441 Test: compile Change-Id: I93416598b6047e890c66b922b360093aa42db8c5 (cherry picked from commit d179cbcdc2b1a97f0f3147bc502af22009a882ba)