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; |