You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2010/08/04 21:47:18 UTC

svn commit: r982382 - in /httpd/httpd/trunk/server/mpm/event: event.c fdqueue.c

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;