OSDN Git Service

Added an explicit "shutting down" flag.
authorAndy McFadden <fadden@android.com>
Tue, 2 Jun 2009 21:15:22 +0000 (14:15 -0700)
committerAndy McFadden <fadden@android.com>
Tue, 2 Jun 2009 21:15:22 +0000 (14:15 -0700)
commit201a6b569b3820047bfe6dc22b793e646dd7eec2
treefd134132d63fc3c25097262f31213fbaa8a66f70
parent5dd400ea093142427d9c83d3bdddac48b63d5fc6
Added an explicit "shutting down" flag.

Change 2644 made the JdwpAdb stuff retry when the remote side went away.
Unfortunately this also made it retry when the VM wanted to shut down.
Since the JDWP thread is a non-daemon thread, this causes the VM to
stall forever.

This adds an explict flag to allow us to drop out of the retry loop.
vm/jdwp/JdwpAdb.c