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

Unified Diff: runtime/vm/os_thread_fuchsia.h

Issue 2796143002: [Fuchsia] Implements the thread interrupter for CPU profiling. (Closed)
Patch Set: Format Created 3 years, 7 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
« no previous file with comments | « runtime/vm/os_thread.h ('k') | runtime/vm/os_thread_fuchsia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/os_thread_fuchsia.h
diff --git a/runtime/vm/os_thread_fuchsia.h b/runtime/vm/os_thread_fuchsia.h
index b9275f9299c596d8ba8ecb19c24a091b45963a5c..713e08ab00247b52ef70fd8a39a043212d2386b7 100644
--- a/runtime/vm/os_thread_fuchsia.h
+++ b/runtime/vm/os_thread_fuchsia.h
@@ -9,6 +9,7 @@
#error Do not include os_thread_fuchsia.h directly; use os_thread.h instead.
#endif
+#include <magenta/syscalls/object.h>
#include <pthread.h>
#include "platform/assert.h"
@@ -17,7 +18,7 @@
namespace dart {
typedef pthread_key_t ThreadLocalKey;
-typedef pthread_t ThreadId;
+typedef mx_koid_t ThreadId;
typedef pthread_t ThreadJoinId;
« no previous file with comments | « runtime/vm/os_thread.h ('k') | runtime/vm/os_thread_fuchsia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698