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

Unified Diff: src/untrusted/pthread/nc_init_private.c

Issue 1212613002: Non-SFI mode: Add Linux asynchronous signal support (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 5 years, 6 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/untrusted/pthread/nc_init_private.c
diff --git a/src/untrusted/pthread/nc_init_private.c b/src/untrusted/pthread/nc_init_private.c
index d54cd5aeb293e5eee88dffd350f7e6234a5ae6e3..1493d384edc6f2b32cf522606eb0633dcd52dddb 100644
--- a/src/untrusted/pthread/nc_init_private.c
+++ b/src/untrusted/pthread/nc_init_private.c
@@ -10,7 +10,7 @@
#include "native_client/src/untrusted/pthread/pthread_internal.h"
static int nacl_irt_thread_create(void (*start_func)(void), void *stack,
- void *thread_ptr) {
+ void *thread_ptr, nacl_irt_tid_t *tid) {
#if defined(NACL_IN_IRT)
/*
* We want the first TLS to point to an unmapped location. The
@@ -36,7 +36,7 @@ static int nacl_irt_thread_nice(const int nice) {
}
void __nc_initialize_interfaces(void) {
- const struct nacl_irt_thread init = {
+ const struct nacl_irt_thread_v0_2 init = {
nacl_irt_thread_create,
nacl_irt_thread_exit,
nacl_irt_thread_nice,

Powered by Google App Engine
This is Rietveld 408576698