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

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

Issue 10392005: Thread suspension: Implement for Linux (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Use %d 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
Index: src/trusted/service_runtime/nacl_signal.h
diff --git a/src/trusted/service_runtime/nacl_signal.h b/src/trusted/service_runtime/nacl_signal.h
index b42f5fa8ded24174a7896c7601aad23f1037bcd2..c7e576683f14321531ce2b7d38bfda185481a2a0 100644
--- a/src/trusted/service_runtime/nacl_signal.h
+++ b/src/trusted/service_runtime/nacl_signal.h
@@ -58,6 +58,10 @@ enum PosixSignals {
};
#endif
+#if NACL_LINUX
+# define NACL_THREAD_SUSPEND_SIGNAL SIGUSR1
+#endif
+
/*
* Prototype for a signal handler. The handler will receive the POSIX

Powered by Google App Engine
This is Rietveld 408576698