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

Re: packing race condition

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Mon, 05 Jan 2009 13:00:24 -0600

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Daniel Shahaf wrote:
> Hyrum K. Wright wrote on Mon, 5 Jan 2009 at 10:15 -0600:
> Added the use of the write lock in r35031. Comments welcome.
>
>
>> r35031 uses acquire_fs_mutex() and doesn't use svn_fs_fs__with_write_lock().
>> Now, maybe it's a stupid question, but shouldn't it be the other way around?

It uses both. Check out svn_fs_fs__pack() in fs_fs.c.

- -Hyrum
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkliWMgACgkQCwOubk4kUXwYagCfb48CBxWIDQam23OD8trzaPIx
+EAAoOg8UkdxmqA4gQnPXd26q/BVgtiV
=btD1
-----END PGP SIGNATURE-----

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1005882
Received on 2009-01-05 20:00:50 CET

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.