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

Unified Diff: src/trusted/service_runtime/sel_ldr.h

Issue 11543028: Allow creating a NaClAppThread without creating a new host OS thread (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Review: Add NACL_WUR Created 8 years 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 | « src/trusted/service_runtime/osx/thread_suspension.c ('k') | src/trusted/service_runtime/sel_ldr_standard.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/sel_ldr.h
diff --git a/src/trusted/service_runtime/sel_ldr.h b/src/trusted/service_runtime/sel_ldr.h
index c7517e0721f09da8f466da88d0ed74ade5637fb2..27e66849b1ed05c6e7a661fbf515555dbc046f93 100644
--- a/src/trusted/service_runtime/sel_ldr.h
+++ b/src/trusted/service_runtime/sel_ldr.h
@@ -515,6 +515,11 @@ int NaClAppLaunchServiceThreads(struct NaClApp *nap);
int NaClReportExitStatus(struct NaClApp *nap, int exit_status);
/*
+ * Get the top of the initial thread's stack. Returns a user address.
+ */
+uintptr_t NaClGetInitialStackTop(struct NaClApp *nap);
+
+/*
* Used to launch the main thread. NB: calling thread may in the
* future become the main NaCl app thread, and this function will
* return only after the NaCl app main thread exits. In such an
« no previous file with comments | « src/trusted/service_runtime/osx/thread_suspension.c ('k') | src/trusted/service_runtime/sel_ldr_standard.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698