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

Unified Diff: src/shared/platform/nacl_log.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/shared/platform/nacl_interruptible_mutex.c ('k') | src/shared/platform/nacl_semaphore_test.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/shared/platform/nacl_log.c
===================================================================
--- src/shared/platform/nacl_log.c (revision 5177)
+++ src/shared/platform/nacl_log.c (working copy)
@@ -31,6 +31,7 @@
#include "native_client/src/shared/platform/nacl_log.h"
#include "native_client/src/shared/platform/nacl_log_intern.h"
#include "native_client/src/shared/platform/nacl_sync.h"
+#include "native_client/src/shared/platform/nacl_sync_checked.h"
#include "native_client/src/shared/platform/nacl_threads.h"
#include "native_client/src/shared/platform/nacl_timestamp.h"
@@ -171,7 +172,7 @@
void NaClLogModuleInitExtended(int initial_verbosity,
struct Gio *log_gio) {
- NaClMutexCtor(&log_mu);
+ NaClXMutexCtor(&log_mu);
NaClLogSetVerbosity(initial_verbosity);
NaClLogSetGio(log_gio);
}
@@ -190,7 +191,7 @@
}
void NaClLogLock(void) {
- NaClMutexLock(&log_mu);
+ NaClXMutexLock(&log_mu);
NaClLogTagNext_mu();
}
@@ -206,7 +207,7 @@
(*gNaClLogAbortBehavior)();
#endif
}
- NaClMutexUnlock(&log_mu);
+ NaClXMutexUnlock(&log_mu);
}
static INLINE struct Gio *NaClLogGetGio_mu() {
« no previous file with comments | « src/shared/platform/nacl_interruptible_mutex.c ('k') | src/shared/platform/nacl_semaphore_test.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698