diff options
author | Bill Stoddard <stoddard@apache.org> | 2002-10-21 17:41:41 +0000 |
---|---|---|
committer | Bill Stoddard <stoddard@apache.org> | 2002-10-21 17:41:41 +0000 |
commit | 6dd9e8dc01f0a3fecb044f4968c5bfa97ddca6c2 (patch) | |
tree | 8008d501a0fadc06f77fe80d4f11638906651792 /include/apr_atomic.h | |
parent | 8edf3dbc3a4703c3181d02bd97cbcd6667fe6ac5 (diff) | |
download | apr-6dd9e8dc01f0a3fecb044f4968c5bfa97ddca6c2.tar.gz |
Win32: apr_atomic_casptr. Not tested.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63958 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_atomic.h')
-rw-r--r-- | include/apr_atomic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/apr_atomic.h b/include/apr_atomic.h index b2ab37eee..d1a46ff76 100644 --- a/include/apr_atomic.h +++ b/include/apr_atomic.h @@ -165,6 +165,7 @@ typedef LONG apr_atomic_t; #define apr_atomic_read(mem) (*mem) #define apr_atomic_cas(mem,with,cmp) InterlockedCompareExchange(mem,with,cmp) #define apr_atomic_init(pool) APR_SUCCESS +#define apr_atomic_casptr(mem,with,cmp) InterlockedCompareExchangePointer(mem,with,cmp) #elif defined(NETWARE) |