diff options
| author | 2018-11-13 10:39:08 -0800 | |
|---|---|---|
| committer | 2018-11-26 10:15:24 -0800 | |
| commit | 99343baea449f07cc2ac0ac473671ce53be7cdd6 (patch) | |
| tree | c561f4c19eaf2c70af1c53d5542ec86b9622efa0 /libs/gui/LayerDebugInfo.cpp | |
| 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
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions