When done with crash-dumping, we need to terminate the application. Calling tgkill() is not necessarily possible, as a sandbox might block this call. This changelist tries different approaches depending on whether we received a synchronous or an asynchronous signal. This fixes unittest failures and also runs correctly in sandbox'd environments.
When done with crash-dumping, we need to terminate the application. Calling
tgkill() is not necessarily possible, as a sandbox might block this call.
This changelist tries different approaches depending on whether we received
a synchronous or an asynchronous signal. This fixes unittest failures and
also runs correctly in sandbox'd environments.

TEST=ran unittest, and opened about:crash in sandbox'd Chrome
BUG=395
A=markus@chromium.org
Original review: http://breakpad.appspot.com/159001
Review URL: http://breakpad.appspot.com/146002

git-svn-id: 7939527bf0a06ad24ad020f729d5600cb42ed5d7@656 4c0a9323-5329-0410-9bdc-e9ce6186880e

mikewied/breakpad,mikewied/breakpad,mikewied/breakpad,mikewied/breakpad,mikewied/breakpad,mikewied/breakpad