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

Unified Diff: src/nonsfi/linux/irt_signal_handling.h

Issue 1293793009: Reland "Non-SFI mode: Add Linux asynchronous signal support" (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Fixed races on thread termination and removed the broken FP-restoration code Created 5 years, 4 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/nonsfi/linux/irt_signal_handling.h
diff --git a/src/nonsfi/linux/irt_signal_handling.h b/src/nonsfi/linux/irt_signal_handling.h
new file mode 100644
index 0000000000000000000000000000000000000000..eff45af24144dd0ed115662a6b89af476b8da7a9
--- /dev/null
+++ b/src/nonsfi/linux/irt_signal_handling.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2015 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.
+ */
+
+#ifndef NATIVE_CLIENT_SRC_NONSFI_LINUX_IRT_SIGNAL_HANDLING_H_
+#define NATIVE_CLIENT_SRC_NONSFI_LINUX_IRT_SIGNAL_HANDLING_H_ 1
+
+#include "native_client/src/untrusted/irt/irt.h"
+
+EXTERN_C_BEGIN
+
+/*
+ * See documentation for nacl_irt_async_signal_handler members in
+ * src/untrusted/irt/irt.h
+ */
+int nacl_async_signal_set_handler(NaClIrtAsyncSignalHandler handler);
+int nacl_async_signal_send_async_signal(nacl_irt_tid_t tid);
+
+EXTERN_C_END
+
+#endif

Powered by Google App Engine
This is Rietveld 408576698