aboutsummaryrefslogtreecommitdiff
path: root/src/client/mac/handler/exception_handler.h
diff options
context:
space:
mode:
authorted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-12-15 16:28:22 +0000
committerted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-12-15 16:28:22 +0000
commitcae59b4ae44ccc667be4c28710d167ad4dd9823b (patch)
tree8b0921b28b2d7fac97bca88da81c37ab9423d4d8 /src/client/mac/handler/exception_handler.h
parentallow uploading zero-byte files in HTTPUpload (diff)
downloadbreakpad-cae59b4ae44ccc667be4c28710d167ad4dd9823b.tar.xz
issue 334 - Fix a race condition between ExceptionHandler::Teardown and ExceptionHandler::WaitForMessage on OS X
R=mark at http://breakpad.appspot.com/165001/show git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@744 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/mac/handler/exception_handler.h')
-rw-r--r--src/client/mac/handler/exception_handler.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/mac/handler/exception_handler.h b/src/client/mac/handler/exception_handler.h
index 76353255..182faa9d 100644
--- a/src/client/mac/handler/exception_handler.h
+++ b/src/client/mac/handler/exception_handler.h
@@ -150,8 +150,9 @@ class ExceptionHandler {
bool Teardown();
// Send an "empty" mach message to the exception handler. Return true on
- // success, false otherwise
- bool SendEmptyMachMessage();
+ // success, false otherwise. If quit is true, the handler thread should
+ // simply quit.
+ bool SendEmptyMachMessage(bool quit);
// All minidump writing goes through this one routine
bool WriteMinidumpWithException(int exception_type, int exception_code,