Re: permissions (and other) problems
From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-09-14 11:39:31 CEST
Branko ÄŒibej <brane@xbc.nu> writes:
I hadn't considered the pool problem, I think we may need to get the
>
svn_cancelled should be volatile (on a Unix or POSIX system anyway).
> apr_mutex_t svn_cancellation_mutex
I'm not sure we need, or can use, a mutex.
> apr_pool_t *svn_cancellation_pool = null
Is apr_mutex_t.lock async-signal safe? The POSIX pthread functions
> apr_atoomic_set(svn_canceled, true)
I'd do something like
void svn_async_pool_initialize (apr_pool_t *pool)
void svn_async_cancel (void)
void svn_async_clear (void)
svn_boolean_t svn_async_is_cancelled (void)
The rest as per Brane's mail.
The application must call svn_async_pool_initialize if it is going to
if (! svn_cancellation_pool)
If the application wants to do fancy mutex stuff in it's signal handler
-- Philip Martin --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Sat Sep 14 11:40:17 2002 |
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.