testing bzr under Wine

John Arbash Meinel john at arbash-meinel.com
Sat Aug 15 15:02:06 BST 2009


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


...

>>  3) Is a read lock exclusive with a write lock inside the same process?
> 
> I'm not sure how to quickly test this.  I would guess yes.

l1 = bzrlib.ReadLock('filename')
l2 = bzrlib.WriteLock('filename')

If it does its own locking it should fail. If it thunks to fcntl
locking, then it won't.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqGv94ACgkQJdeBCYSNAAMVXwCgodjnkhMWppXw7lVBtlVRQm16
fiMAoL5OyiVE7qXWfFEUCyOKMRdS0xf7
=BYeP
-----END PGP SIGNATURE-----



More information about the bazaar mailing list