commit | 32b5003cf641ffcad9bb0d41d748906fd4b0dadf | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Fri Nov 20 09:30:29 2020 -0800 |
committer | Mark Salyzyn <salyzyn@google.com> | Mon Nov 23 21:44:29 2020 +0000 |
tree | 3018061920446bcfedd1923c18f6e9ff09c26d71 | |
parent | 5281bee360d9a9f90ea3fd2fffcd507332da117a [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