Better handling of surfaway/reload in PNaCl translation
On surfaway when the Plugin object gets destroyed, the coordinator joins the translation thread, which could be waiting for an SRPC to return. But the compiler or linker could be blocked (or about to block) on a reverse service call, which could cause a deadlock. So, the reverse service interface for the translator or linker needs to be shut down as well which will cause the nexe's RPC to fail and break the deadlock. Also, join the translation thread in the streaming translation object where it was created to make sure the objects it needs are live. R=jvoung@chromium.org,sehr@chromium.org,robertm@chromium.org BUG=http://code.google.com/p/nativeclient/issues/detail?id=2195 TEST=nacl_integration Review URL: https://chromiumcodereview.appspot.com/10843009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149300 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment