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

Unified Diff: src/trusted/service_runtime/generic/thread_suspension.c

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/build.scons ('k') | src/trusted/service_runtime/linux/thread_suspension.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/generic/thread_suspension.c
diff --git a/src/trusted/service_runtime/generic/thread_suspension.c b/src/trusted/service_runtime/generic/thread_suspension.c
new file mode 100644
index 0000000000000000000000000000000000000000..7a9a94245e2b444d322a8d24d02a54b03eda4933
--- /dev/null
+++ b/src/trusted/service_runtime/generic/thread_suspension.c
@@ -0,0 +1,29 @@
+/*
+ * Copyright (c) 2012 The Native Client Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include "native_client/src/shared/platform/nacl_log.h"
+#include "native_client/src/trusted/service_runtime/nacl_app_thread.h"
+
+
+void NaClAppThreadSetSuspendState(struct NaClAppThread *natp,
+ enum NaClSuspendState old_state,
+ enum NaClSuspendState new_state) {
+ UNREFERENCED_PARAMETER(natp);
+ UNREFERENCED_PARAMETER(old_state);
+ UNREFERENCED_PARAMETER(new_state);
+}
+
+void NaClUntrustedThreadsSuspendAll(struct NaClApp *nap) {
+ UNREFERENCED_PARAMETER(nap);
+
+ NaClLog(LOG_FATAL, "NaClUntrustedThreadsSuspendAll: Not implemented\n");
+}
+
+void NaClUntrustedThreadsResumeAll(struct NaClApp *nap) {
+ UNREFERENCED_PARAMETER(nap);
+
+ NaClLog(LOG_FATAL, "NaClUntrustedThreadsResumeAll: Not implemented\n");
+}
« no previous file with comments | « src/trusted/service_runtime/build.scons ('k') | src/trusted/service_runtime/linux/thread_suspension.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698