apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/include apr_atomic.h
Date Wed, 15 Oct 2003 20:39:34 GMT
wrowe       2003/10/15 13:39:34

  Modified:    include  apr_atomic.h
  Log:
    Nothing to initialize on win32, this sure looks like the right answer
    for atomics.
  
  Revision  Changes    Path
  1.59      +1 -1      apr/include/apr_atomic.h
  
  Index: apr_atomic.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_atomic.h,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -r1.58 -r1.59
  --- apr_atomic.h	30 Sep 2003 18:55:00 -0000	1.58
  +++ apr_atomic.h	15 Oct 2003 20:39:34 -0000	1.59
  @@ -237,13 +237,13 @@
   
   #define apr_atomic_t LONG
   
  +#define apr_atomic_init(pool)        APR_SUCCESS
   #define apr_atomic_add(mem, val)     InterlockedExchangeAdd(mem,val)
   #define apr_atomic_dec(mem)          InterlockedDecrement(mem)
   #define apr_atomic_inc(mem)          InterlockedIncrement(mem)
   #define apr_atomic_set(mem, val)     InterlockedExchange(mem, val)
   #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)
  
  
  

Mime
View raw message