| Index: net/third_party/nss/ssl/sslmutex.c
|
| ===================================================================
|
| --- net/third_party/nss/ssl/sslmutex.c (revision 55938)
|
| +++ net/third_party/nss/ssl/sslmutex.c (working copy)
|
| @@ -33,7 +33,7 @@
|
| * the terms of any one of the MPL, the GPL or the LGPL.
|
| *
|
| * ***** END LICENSE BLOCK ***** */
|
| -/* $Id: sslmutex.c,v 1.24 2009/06/05 02:34:14 nelson%bolyard.com Exp $ */
|
| +/* $Id: sslmutex.c,v 1.25 2010/04/03 18:27:33 nelson%bolyard.com Exp $ */
|
|
|
| #include "seccomon.h"
|
| /* This ifdef should match the one in sslsnce.c */
|
| @@ -211,7 +211,7 @@
|
| return SECFailure;
|
| }
|
| /* Do Memory Barrier here. */
|
| - newValue = PR_AtomicDecrement(&pMutex->u.pipeStr.nWaiters);
|
| + newValue = PR_ATOMIC_DECREMENT(&pMutex->u.pipeStr.nWaiters);
|
| if (newValue > 0) {
|
| int cc;
|
| char c = 1;
|
| @@ -241,7 +241,7 @@
|
| PORT_SetError(PR_INVALID_ARGUMENT_ERROR);
|
| return SECFailure;
|
| }
|
| - newValue = PR_AtomicIncrement(&pMutex->u.pipeStr.nWaiters);
|
| + newValue = PR_ATOMIC_INCREMENT(&pMutex->u.pipeStr.nWaiters);
|
| /* Do Memory Barrier here. */
|
| if (newValue > 1) {
|
| int cc;
|
|
|