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

Re: r17214, JavaHL thread local storeage and reentrant calls

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2005-11-14 21:23:54 CET

On 11/14/05, Andrew Vaughan <ajv-lists@netspace.net.au> wrote:

> (I haven't studied the code, just skimmed the log, and read your explanation
> above). There should be no problems with either green or native threads,
> _iff_ the Java code is properly synchronized. (eg. either using
> SVNClientSynchronized.java or synchronizing on some other Object themselves.)

But what if they were using different SVNClientSynchronized objects
entirely? It seems like there are any number of different ways you
could have two separate threads calling into JavaHL without any
locking at all between them, which would mean you're vulnerable to
this sort of problem.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 14 21:25:00 2005

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.