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

Unified Diff: src/native_client/src/trusted/service_runtime/nacl_app_thread.h

Issue 2659002: Remove thread refcount and remove NaClAppDtor() (Closed)
Patch Set: Fix Gyp build Created 10 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/native_client/src/trusted/service_runtime/nacl_app_thread.h
diff --git a/src/native_client/src/trusted/service_runtime/nacl_app_thread.h b/src/native_client/src/trusted/service_runtime/nacl_app_thread.h
index 2687ee3c5d6fa3eb986e04fd3f282e1062bcbe63..77c456beb316ca543c62e2e830ca9a60dc677eb3 100644
--- a/src/native_client/src/trusted/service_runtime/nacl_app_thread.h
+++ b/src/native_client/src/trusted/service_runtime/nacl_app_thread.h
@@ -40,8 +40,6 @@ struct NaClAppThread {
int is_privileged; /* can make "special" syscalls? */
- uint32_t refcount;
-
struct NaClClosureResult result;
uint32_t sysret;
@@ -159,10 +157,6 @@ int NaClAppThreadAllocSegCtor(struct NaClAppThread *natp,
uintptr_t sys_tdb_base,
size_t tdb_size) NACL_WUR;
-int NaClAppThreadIncRef(struct NaClAppThread *natp);
-
-int NaClAppThreadDecRef(struct NaClAppThread *natp);
-
EXTERN_C_END
#endif /* NATIVE_CLIENT_SERVICE_RUNTIME_NACL_APP_THREAD_H__ */

Powered by Google App Engine
This is Rietveld 408576698