I'm attacching a simple patch that prevent this issue.
Thanks, bye.
-- 
-gaspa-
-----------------------------------------------
-------- https://launchpad.net/~gaspa ---------
------ HomePage: iogaspa.altervista.org -------
-Il lunedi'dell'arrampicatore: www.lunedi.org -
--- python-fuse-0.2-pre3.orig/example/xmp.py
+++ python-fuse-0.2-pre3/example/xmp.py
@@ -260,6 +260,9 @@
     server = Xmp(version="%prog " + fuse.__version__,
                  usage=usage,
                  dash_s_do='setsingle')
+    # Disable multithreading: if you want to use it, protect all method of
+    # XmlFile class with locks, in order to prevent race conditions
+    server.multithreaded = False
 
     server.parser.add_option(mountopt="root", metavar="PATH", default='/',
                              help="mirror filesystem from under PATH [default: %default]")

Reply via email to