apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r595990 - /apr/apr-util/branches/1.2.x/misc/apr_reslist.c
Date Sat, 17 Nov 2007 19:31:24 GMT
Author: rpluem
Date: Sat Nov 17 11:31:24 2007
New Revision: 595990

URL: http://svn.apache.org/viewvc?rev=595990&view=rev
Log:
Merge r595932 from trunk:

* Wakeup waiting threads after resource was invalidated.

Modified:
    apr/apr-util/branches/1.2.x/misc/apr_reslist.c

Modified: apr/apr-util/branches/1.2.x/misc/apr_reslist.c
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.2.x/misc/apr_reslist.c?rev=595990&r1=595989&r2=595990&view=diff
==============================================================================
--- apr/apr-util/branches/1.2.x/misc/apr_reslist.c (original)
+++ apr/apr-util/branches/1.2.x/misc/apr_reslist.c Sat Nov 17 11:31:24 2007
@@ -370,6 +370,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