cid#1326347 Check of thread-shared field evades lock acquisition
Change-Id: Iaeb21e3a5798c817315f619e0c1c57bd0c37f175
This commit is contained in:
@@ -79,11 +79,11 @@ public class CallWatchThread extends Thread
|
||||
{
|
||||
dbgPrint( "CallWatchThread(" + this + ".run(" + aTag + ") ***** STARTED *****" );
|
||||
long n = 0;
|
||||
while ( aWatchedThread != null )
|
||||
synchronized(this)
|
||||
{
|
||||
dbgPrint( "CallWatchThread(" + this + ").run(" + aTag + ") running #" + ++n );
|
||||
synchronized(this)
|
||||
while ( aWatchedThread != null )
|
||||
{
|
||||
dbgPrint( "CallWatchThread(" + this + ").run(" + aTag + ") running #" + ++n );
|
||||
bAlive = false;
|
||||
try
|
||||
{
|
||||
|
Reference in New Issue
Block a user