Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(606)

Unified Diff: util/mach/mach_extensions.h

Issue 577293002: Use task_t, thread_t, and exception_handler_t uniformly (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: util/mach/mach_extensions.h
diff --git a/util/mach/mach_extensions.h b/util/mach/mach_extensions.h
index f9d04b71c10cecf97960f44117bc3babc169ea86..14a2862fc645e456df3d7461891ce024f261f34b 100644
--- a/util/mach/mach_extensions.h
+++ b/util/mach/mach_extensions.h
@@ -65,7 +65,7 @@ const exception_type_t kMachExceptionSimulated = 'CPsx';
//! count. The returned port must not be deallocated by
//! `mach_port_deallocate()`. The returned value is valid as long as the
//! thread continues to exist as a `pthread_t`.
-mach_port_t MachThreadSelf();
+thread_t MachThreadSelf();
//! \brief The value for `EXC_MASK_ALL` appropriate for the operating system at
//! run time.

Powered by Google App Engine
This is Rietveld 408576698