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

Unified Diff: src/trusted/simple_service/nacl_simple_service.c

Issue 7108031: this patch adds the manifest proxy server to sel_ldr and the manifest (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 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
« no previous file with comments | « src/trusted/service_runtime/service_runtime.gyp ('k') | src/trusted/threading/nacl_thread_interface.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/simple_service/nacl_simple_service.c
===================================================================
--- src/trusted/simple_service/nacl_simple_service.c (revision 5652)
+++ src/trusted/simple_service/nacl_simple_service.c (working copy)
@@ -31,7 +31,7 @@
struct NaClDesc *conn,
void *instance_data) {
NaClLog(4,
- "NaClSimpleServiceConnectionCtor: this 0x%"NACL_PRIxPTR"\n",
+ "NaClSimpleServiceConnectionCtor: self 0x%"NACL_PRIxPTR"\n",
(uintptr_t) self);
if (!NaClRefCountCtor((struct NaClRefCount *) self)) {
return 0;
@@ -121,7 +121,7 @@
NaClThreadIfFactoryFunction thread_factory_fn,
void *thread_factory_data) {
NaClLog(4,
- "NaClSimpleServiceCtorIntern, this 0x%"NACL_PRIxPTR"\n",
+ "NaClSimpleServiceCtorIntern, self 0x%"NACL_PRIxPTR"\n",
(uintptr_t) self);
if (!NaClRefCountCtor((struct NaClRefCount *) self)) {
NaClLog(4, "NaClSimpleServiceCtorIntern: NaClRefCountCtor failed\n");
@@ -143,7 +143,7 @@
NaClThreadIfFactoryFunction thread_factory_fn,
void *thread_factory_data) {
NaClLog(4,
- "NaClSimpleServiceCtor: this 0x%"NACL_PRIxPTR"\n",
+ "Entered NaClSimpleServiceCtor: self 0x%"NACL_PRIxPTR"\n",
(uintptr_t) self);
if (0 != NaClCommonDescMakeBoundSock(self->bound_and_cap)) {
@@ -166,7 +166,7 @@
struct NaClDesc *service_port,
struct NaClDesc *sock_addr) {
NaClLog(4,
- "NaClSimpleServiceWithSocketCtor: this 0x%"NACL_PRIxPTR"\n",
+ "NaClSimpleServiceWithSocketCtor: self 0x%"NACL_PRIxPTR"\n",
(uintptr_t) self);
if (!NaClSimpleServiceCtorIntern(self, srpc_handlers,
thread_factory_fn, thread_factory_data)) {
@@ -276,8 +276,13 @@
goto cleanup;
}
/* all okay! */
- NaClLog(4, "conn is 0x%"NACL_PRIxPTR"\n", (uintptr_t) conn);
- NaClLog(4, "out is 0x%"NACL_PRIxPTR"\n", (uintptr_t) out);
+
+ NaClLog(4,
+ "NaClSimpleServiceAcceptConnection: conn is 0x%"NACL_PRIxPTR"\n",
+ (uintptr_t) conn);
+ NaClLog(4,
+ "NaClSimpleServiceAcceptConnection: out is 0x%"NACL_PRIxPTR"\n",
+ (uintptr_t) out);
*out = conn;
status = 0;
cleanup:
@@ -303,7 +308,9 @@
if (0 != status) {
goto abort;
}
- NaClLog(4, "conn is 0x%"NACL_PRIxPTR"\n", (uintptr_t) conn);
+ NaClLog(4,
+ "NaClSimpleServiceAcceptAndSpawnHandler: conn is 0x%"NACL_PRIxPTR"\n",
+ (uintptr_t) conn);
NaClLog(4, "NaClSimpleServiceAcceptAndSpawnHandler: spawning thread\n");
CHECK(NULL == conn->thread);
« no previous file with comments | « src/trusted/service_runtime/service_runtime.gyp ('k') | src/trusted/threading/nacl_thread_interface.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698