httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chr...@apache.org
Subject svn commit: r726113 - /httpd/httpd/trunk/server/mpm/worker/fdqueue.c
Date Fri, 12 Dec 2008 20:31:10 GMT
Author: chrisd
Date: Fri Dec 12 12:31:09 2008
New Revision: 726113

URL: http://svn.apache.org/viewvc?rev=726113&view=rev
Log:
I'm not 100% sure about this, but it seems to silence the
compiler warnings generated by r101236 (which was, in turn,
intended to do the same).

Modified:
    httpd/httpd/trunk/server/mpm/worker/fdqueue.c

Modified: httpd/httpd/trunk/server/mpm/worker/fdqueue.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/worker/fdqueue.c?rev=726113&r1=726112&r2=726113&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/worker/fdqueue.c (original)
+++ httpd/httpd/trunk/server/mpm/worker/fdqueue.c Fri Dec 12 12:31:09 2008
@@ -43,7 +43,7 @@
         if (first_pool == NULL) {
             break;
         }
-        if (apr_atomic_casptr((volatile void**)&(qi->recycled_pools), first_pool->next,
+        if (apr_atomic_casptr((void*)&(qi->recycled_pools), first_pool->next,
                               first_pool) == first_pool) {
             apr_pool_destroy(first_pool->pool);
         }
@@ -100,7 +100,7 @@
              */
             struct recycled_pool *next = queue_info->recycled_pools;
             new_recycle->next = next;
-            if (apr_atomic_casptr((volatile void**)&(queue_info->recycled_pools),
+            if (apr_atomic_casptr((void*)&(queue_info->recycled_pools),
                                   new_recycle, next) == next) {
                 break;
             }
@@ -209,7 +209,7 @@
         if (first_pool == NULL) {
             break;
         }
-        if (apr_atomic_casptr((volatile void**)&(queue_info->recycled_pools), first_pool->next,
+        if (apr_atomic_casptr((void*)&(queue_info->recycled_pools), first_pool->next,
                               first_pool) == first_pool) {
             *recycled_pool = first_pool->pool;
             break;



Mime
View raw message