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

Re: permissions (and other) problems

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-09-12 23:34:45 CEST

Garrett Rooney <rooneg@electricjellyfish.net> writes:

> > Either way, the interaction with a multi-threaded Subversion client
> > needs to be considered, even if it's only to document what happens.
> > E.g. to say that svn_set_cancelation_handler affects all threads or
> > that svn_async_cancel affects one thread.
>
> that's a tough question. i'm tempted to say that svn_async_cancel
> effects all threads, but i imagine it might be nice to have it only
> effect the current thread...

Assuming svn_async_cancel sets some global state, probably just a
flag, the question then is when does it get reset? Does the SVN_ERR
macro reset it after deciding to generate an error? Does the client
have to call svn_async_clear?

> of course, threads and signals don't
> work too well together anyway...

They work if you follow the rules :)

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 12 23:35:21 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.