Return-Path: Delivered-To: apmail-apr-cvs-archive@www.apache.org Received: (qmail 45189 invoked from network); 10 Dec 2003 18:49:39 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 10 Dec 2003 18:49:39 -0000 Received: (qmail 1133 invoked by uid 500); 10 Dec 2003 18:49:30 -0000 Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 1093 invoked by uid 500); 10 Dec 2003 18:49:30 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 1080 invoked by uid 500); 10 Dec 2003 18:49:30 -0000 Delivered-To: apmail-apr-util-cvs@apache.org Date: 10 Dec 2003 18:49:38 -0000 Message-ID: <20031210184938.45167.qmail@minotaur.apache.org> From: trawick@apache.org To: apr-util-cvs@apache.org Subject: cvs commit: apr-util/include apr_reslist.h X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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);