apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r595932 - /apr/apr-util/trunk/misc/apr_reslist.c
Date Sat, 17 Nov 2007 10:36:20 GMT
Author: rpluem
Date: Sat Nov 17 02:36:19 2007
New Revision: 595932

URL: http://svn.apache.org/viewvc?rev=595932&view=rev
Log:
* Wakeup waiting threads after resource was invalidated.

Modified:
    apr/apr-util/trunk/misc/apr_reslist.c

Modified: apr/apr-util/trunk/misc/apr_reslist.c
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/misc/apr_reslist.c?rev=595932&r1=595931&r2=595932&view=diff
==============================================================================
--- apr/apr-util/trunk/misc/apr_reslist.c (original)
+++ apr/apr-util/trunk/misc/apr_reslist.c Sat Nov 17 02:36:19 2007
@@ -381,6 +381,7 @@
     apr_thread_mutex_lock(reslist->listlock);
     ret = reslist->destructor(resource, reslist->params, reslist->pool);
     reslist->ntotal--;
+    apr_thread_cond_signal(reslist->avail);
     apr_thread_mutex_unlock(reslist->listlock);
     return ret;
 }



Mime
View raw message