Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 99343bae authored by Marissa Wall's avatar Marissa Wall
Browse files

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
parent 5aec6412
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment