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

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

Issue 10392005: Thread suspension: Implement for Linux (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Comment about docs Created 8 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 | « src/trusted/service_runtime/posix/nacl_signal.c ('k') | src/trusted/service_runtime/service_runtime.gyp » ('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 8920b0fb5bb03c06682c463064327b0eb4101ad4..34ebe4ccff4b1ebea21496da6bc335765a4dd01f 100644
--- a/src/trusted/service_runtime/sel_ldr.h
+++ b/src/trusted/service_runtime/sel_ldr.h
@@ -754,29 +754,17 @@ void NaClVmIoPendingCheck_mu(struct NaClApp *nap,
void NaClGdbHook(struct NaClApp const *nap);
-#if NACL_WINDOWS
-
void NaClUntrustedThreadSuspend(struct NaClAppThread *natp);
void NaClUntrustedThreadResume(struct NaClAppThread *natp);
void NaClUntrustedThreadsSuspendAll(struct NaClApp *nap);
void NaClUntrustedThreadsResumeAll(struct NaClApp *nap);
-#else
-
-static INLINE void NaClUntrustedThreadsSuspendAll(struct NaClApp *nap) {
- UNREFERENCED_PARAMETER(nap);
- NaClLog(LOG_FATAL, "NaClUntrustedThreadsSuspendAll: Not implemented\n");
-}
-
-static INLINE void NaClUntrustedThreadsResumeAll(struct NaClApp *nap) {
- UNREFERENCED_PARAMETER(nap);
- NaClLog(LOG_FATAL, "NaClUntrustedThreadsResumeAll: Not implemented\n");
-}
+#if NACL_LINUX
-#endif
+void NaClSuspendSignalHandler(void);
-#if NACL_LINUX
void handle_r_debug(const char *switch_value, char *argv0);
+
#endif
EXTERN_C_END
« no previous file with comments | « src/trusted/service_runtime/posix/nacl_signal.c ('k') | src/trusted/service_runtime/service_runtime.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698