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

Unified Diff: src/trusted/service_runtime/nacl_syscall_common.c

Issue 6937003: modified nacl_sync.h to have NACL_WUR for all functions that return a (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 8 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/nacl_sync_queue.c ('k') | src/trusted/service_runtime/nacl_text.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/nacl_syscall_common.c
===================================================================
--- src/trusted/service_runtime/nacl_syscall_common.c (revision 5177)
+++ src/trusted/service_runtime/nacl_syscall_common.c (working copy)
@@ -290,7 +290,7 @@
cleanup:
- (void) NaClMutexUnlock(&nap->mu);
+ NaClXMutexUnlock(&nap->mu);
cleanup_no_lock:
NaClSysCommonThreadSyscallLeave(natp);
@@ -398,7 +398,7 @@
NaClXMutexLock(&nap->mu);
nap->exit_status = status;
nap->running = 0;
- NaClCondVarSignal(&nap->cv);
+ NaClXCondVarSignal(&nap->cv);
NaClXMutexUnlock(&nap->mu);
NaClSysCommonThreadSuicide(natp);
@@ -491,10 +491,10 @@
goto done;
}
/* write */
- NaClMutexLock(&natp->nap->mu);
+ NaClXMutexLock(&natp->nap->mu);
NaClDescUnref(natp->nap->name_service_conn_cap);
natp->nap->name_service_conn_cap = desc_obj_ptr;
- NaClMutexUnlock(&natp->nap->mu);
+ NaClXMutexUnlock(&natp->nap->mu);
retval = 0;
}
« no previous file with comments | « src/trusted/service_runtime/nacl_sync_queue.c ('k') | src/trusted/service_runtime/nacl_text.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698