[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Just to be sure: file closing on pool cleanup?

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-11-28 08:01:11 CET

Greg Hudson wrote:

>On Thu, 2003-11-27 at 12:49, Branko Čibej wrote:
>>Pool cleanup will close the file, but we should call apr_file_close
>>anyway, because we don't want open file handles hanging around until
>>somebody happens to clear the pool.
>Can you explain why an open file or two
One or two are usually fine. O(n) aren't.

> hanging around until pool
>cleanup is enough of a travesty as to warrant complicating the cleanup
>path, whereas a chain of subpools containing who knows how much
>allocated memory is fine?
That's not fine, either. Howecer, file handles are usually a scarser
resource than memory.

Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 28 08:01:52 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.