RE: [PATCH in progress] Ref-counting for pristine texts
From: Bert Huijben <bert_at_qqmail.nl>
Date: Tue, 11 Jan 2011 14:56:14 +0100
> -----Original Message-----
I see a different issue here: The close_wcroot() call is normally handled from pool cleanup for users of the svn_client api. (The svn_wc_context_t is cached in the client context, which is only closed on pool cleanup).
When Subversion is used as a library we can't rely on when (or where) this pool cleanup runs. In Java (javahl) and .Net (SharpSvn) this could be the finalizer thread. We can't return error messages or call callbacks from there.
For these cases I would like to see the final cleanup phase optional.
I certainly see cases where the cleanup here is useful, but I certainly wouldn't like to see a blocking finalizer thread because it has to perform a ton of network IO to cleanup some remote working copy that was used some time ago.
Bert
|
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.