trawick 2003/12/10 10:49:38
Modified: include apr_reslist.h
Log:
document an interesting requirement of apr_reslist_destroy()
Revision Changes Path
1.7 +3 -0 apr-util/include/apr_reslist.h
Index: apr_reslist.h
===================================================================
RCS file: /home/cvs/apr-util/include/apr_reslist.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- apr_reslist.h 10 Dec 2003 18:20:21 -0000 1.6
+++ apr_reslist.h 10 Dec 2003 18:49:38 -0000 1.7
@@ -132,6 +132,9 @@
* FIXME: Should this block until all resources become available,
* or maybe just destroy all the free ones, or maybe destroy
* them even though they might be in use by something else?
+ * Currently it will abort if there are resources that haven't
+ * been released, so there is an assumption that all resources
+ * have been released to the list before calling this function.
* @param reslist The reslist to destroy
*/
APU_DECLARE(apr_status_t) apr_reslist_destroy(apr_reslist_t *reslist);