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

Unified Diff: src/trusted/threading/nacl_thread_interface.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/simple_service/nacl_simple_service.c ('k') | tests/multiple_sandboxes/nacl.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/threading/nacl_thread_interface.c
===================================================================
--- src/trusted/threading/nacl_thread_interface.c (revision 5652)
+++ src/trusted/threading/nacl_thread_interface.c (working copy)
@@ -18,8 +18,17 @@
(struct NaClThreadInterface *) data;
void *thread_return;
+ NaClLog(4,
+ ("Entered NaClThreadInterfaceStart: thread object 0x%"NACL_PRIxPTR
+ " starting.\n"),
+ (uintptr_t) tif); /* NaClThreadId() implicitly printed */
(*NACL_VTBL(NaClThreadInterface, tif)->LaunchCallback)(tif);
thread_return = (*tif->fn_ptr)(tif);
+ NaClLog(4,
+ ("NaClThreadInterfaceStart: thread object 0x%"NACL_PRIxPTR
+ " returned 0x%"NACL_PRIxPTR".\n"),
+ (uintptr_t) tif,
+ (uintptr_t) thread_return); /* NaClThreadId() implicitly printed */
(*NACL_VTBL(NaClThreadInterface, tif)->Exit)(tif, thread_return);
NaClLog(LOG_FATAL,
"NaClThreadInterface: Exit member function did not exit thread\n");
@@ -79,7 +88,8 @@
thread_stack_size))) {
*out_new_thread = new_thread;
NaClLog(3,
- "NaClThreadInterfaceThreadFactory: new thread 0x%"NACL_PRIxPTR"\n",
+ "NaClThreadInterfaceThreadFactory: new thread object"
+ " 0x%"NACL_PRIxPTR" (not started)\n",
(uintptr_t) new_thread);
new_thread = NULL;
}
@@ -103,7 +113,9 @@
int NaClThreadInterfaceStartThread(struct NaClThreadInterface *self) {
int rv;
- NaClLog(3, "Entered NaClThreadInterfaceStartThread\n");
+ NaClLog(3,
+ "Entered NaClThreadInterfaceStartThread: self 0x%"NACL_PRIxPTR"\n",
+ (uintptr_t) self);
CHECK(self->thread_started == 0);
rv = NaClThreadCtor(&self->thread,
« no previous file with comments | « src/trusted/simple_service/nacl_simple_service.c ('k') | tests/multiple_sandboxes/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698