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

Unified Diff: src/trusted/service_runtime/nacl_globals.c

Issue 12207165: Mac x86_64: Mach exception support (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 7 years, 10 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: src/trusted/service_runtime/nacl_globals.c
===================================================================
--- src/trusted/service_runtime/nacl_globals.c (revision 10790)
+++ src/trusted/service_runtime/nacl_globals.c (working copy)
@@ -18,6 +18,10 @@
#include "native_client/src/trusted/service_runtime/nacl_app_thread.h"
#include "native_client/src/trusted/service_runtime/nacl_globals.h"
+#if NACL_OSX
+#include "native_client/src/trusted/service_runtime/osx/mach_thread_map.h"
+#endif
+
struct NaClThreadContext *nacl_user[NACL_THREAD_MAX] = {NULL};
#if NACL_WINDOWS
uint32_t nacl_thread_ids[NACL_THREAD_MAX] = {0};
@@ -31,6 +35,10 @@
void NaClGlobalModuleInit(void) {
NaClInitGlobals();
+
+#if NACL_OSX
+ NaClInitMachThreadMap();
+#endif
}

Powered by Google App Engine
This is Rietveld 408576698