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

Unified Diff: src/trusted/service_runtime/nacl_sync_queue.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
Index: src/trusted/service_runtime/nacl_sync_queue.c
===================================================================
--- src/trusted/service_runtime/nacl_sync_queue.c (revision 5177)
+++ src/trusted/service_runtime/nacl_sync_queue.c (working copy)
@@ -1,7 +1,7 @@
/*
- * Copyright 2008 The Native Client Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can
- * be found in the LICENSE file.
+ * Copyright (c) 2011 The Native Client Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
*/
/*
@@ -105,7 +105,7 @@
NaClXMutexLock(&nsqp->mu);
while (NaClSyncQueueEmptyMu(nsqp) && !nsqp->quit) {
NaClLog(3, "NaClSyncQueueDequeue: waiting\n");
- NaClCondVarWait(&nsqp->cv, &nsqp->mu);
+ NaClXCondVarWait(&nsqp->cv, &nsqp->mu);
}
if (nsqp->quit) {
« no previous file with comments | « src/trusted/service_runtime/nacl_sync_cond_test.c ('k') | src/trusted/service_runtime/nacl_syscall_common.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698