commit | 99343baea449f07cc2ac0ac473671ce53be7cdd6 | [log] [tgz] |
---|---|---|
author | Marissa Wall <marissaw@google.com> | Tue Nov 13 10:39:08 2018 -0800 |
committer | Marissa Wall <marissaw@google.com> | Mon Nov 26 10:15:24 2018 -0800 |
tree | c561f4c19eaf2c70af1c53d5542ec86b9622efa0 | |
parent | 5aec6412704477b7c1ce50c8e5739c9969ed8a1b [diff] |
blast: protect destruction of callback thread Wrap the creation and destruction of TransactionCompletedThread's mThread in a mutex. This will prevent the race condition between the creation of mThread and mThread.join(). Test: libsurfaceflinger_unittest Transaction_test Change-Id: Ic448872cd5418ce7885b8c2e52a7f1bf02afd772