mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-24 14:15:41 +01:00
Add accessor for ExceptionHandler::requesting_thread_id_ (#198). Patch by Lucas Eckels. r=me
http://groups.google.com/group/google-breakpad-dev/browse_thread/thread/37da2dd8c14659c3 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@203 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
70c7438bff
commit
6a3f87982d
@ -169,6 +169,12 @@ class ExceptionHandler {
|
|||||||
static bool WriteMinidump(const wstring &dump_path,
|
static bool WriteMinidump(const wstring &dump_path,
|
||||||
MinidumpCallback callback, void *callback_context);
|
MinidumpCallback callback, void *callback_context);
|
||||||
|
|
||||||
|
// Get the thread ID of the thread requesting the dump (either the exception
|
||||||
|
// thread or any other thread that called WriteMinidump directly). This
|
||||||
|
// may be useful if you want to include additional thread state in your
|
||||||
|
// dumps.
|
||||||
|
DWORD get_requesting_thread_id() const { return requesting_thread_id_; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend class AutoExceptionHandler;
|
friend class AutoExceptionHandler;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user