httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r982382 - in /httpd/httpd/trunk/server/mpm/event: event.c fdqueue.c
Date Wed, 04 Aug 2010 19:47:18 GMT
Author: sf
Date: Wed Aug  4 19:47:18 2010
New Revision: 982382

URL: http://svn.apache.org/viewvc?rev=982382&view=rev
Log:
Re-add AP_DEBUG_ASSERTs that were wrongly removed in r982050

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

Modified: httpd/httpd/trunk/server/mpm/event/event.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/event/event.c?rev=982382&r1=982381&r2=982382&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/event/event.c (original)
+++ httpd/httpd/trunk/server/mpm/event/event.c Wed Aug  4 19:47:18 2010
@@ -1155,6 +1155,7 @@ static void * APR_THREAD_FUNC listener_t
                                  ap_server_conf,
                                  "event_loop: unexpected state %d",
                                  cs->state);
+                    AP_DEBUG_ASSERT(0);
                 }
 
                 apr_thread_mutex_lock(timeout_mutex);

Modified: httpd/httpd/trunk/server/mpm/event/fdqueue.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/event/fdqueue.c?rev=982382&r1=982381&r2=982382&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/event/fdqueue.c (original)
+++ httpd/httpd/trunk/server/mpm/event/fdqueue.c Wed Aug  4 19:47:18 2010
@@ -165,6 +165,7 @@ apr_status_t ap_queue_info_wait_for_idle
                                       queue_info->idlers_mutex);
             if (rv != APR_SUCCESS) {
                 apr_status_t rv2;
+                AP_DEBUG_ASSERT(0);
                 rv2 = apr_thread_mutex_unlock(queue_info->idlers_mutex);
                 if (rv2 != APR_SUCCESS) {
                     return rv2;



Mime
View raw message