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

Unified Diff: nss/mozilla/nsprpub/pr/src/pthreads/ptthread.c

Issue 3135002: Update to NSS 3.12.7 and NSPR 4.8.6.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years, 4 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: nss/mozilla/nsprpub/pr/src/pthreads/ptthread.c
===================================================================
--- nss/mozilla/nsprpub/pr/src/pthreads/ptthread.c (revision 55475)
+++ nss/mozilla/nsprpub/pr/src/pthreads/ptthread.c (working copy)
@@ -752,10 +752,10 @@
if ((NULL != cv) && !thred->interrupt_blocked)
{
PRIntn rv;
- (void)PR_AtomicIncrement(&cv->notify_pending);
+ (void)PR_ATOMIC_INCREMENT(&cv->notify_pending);
rv = pthread_cond_broadcast(&cv->cv);
PR_ASSERT(0 == rv);
- if (0 > PR_AtomicDecrement(&cv->notify_pending))
+ if (0 > PR_ATOMIC_DECREMENT(&cv->notify_pending))
PR_DestroyCondVar(cv);
}
return PR_SUCCESS;

Powered by Google App Engine
This is Rietveld 408576698