Chromium Code Reviews| 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..3f1ccd802b1c812cc357a1ca35722e4fe29ecdb9 |
| --- /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_signal_set_handler(NaClIrtSignalHandler handler); |
|
Mark Seaborn
2015/08/12 01:43:07
The names in irt.h have "async" in them. Could yo
Luis Héctor Chávez
2015/08/12 22:14:26
Done.
|
| +int nacl_signal_send_async_signal(nacl_irt_tid_t tid); |
| + |
| +EXTERN_C_END |
| + |
| +#endif |