cid#1326347 Check of thread-shared field evades lock acquisition
Change-Id: Iaeb21e3a5798c817315f619e0c1c57bd0c37f175
This commit is contained in:
parent
7e7014ba13
commit
fa59d0c587
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue