patch from Mark Glines to allow Fuse to be run from a non-master thread
authorDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 22 Aug 2006 11:37:12 +0000 (11:37 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 22 Aug 2006 11:37:12 +0000 (11:37 +0000)
git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@101 6e4b0b00-1209-0410-87b2-b275959b5705

Fuse.xs

diff --git a/Fuse.xs b/Fuse.xs
index 43b62f0..e6c293b 100644 (file)
--- a/Fuse.xs
+++ b/Fuse.xs
@@ -834,7 +834,7 @@ perl_fuse_main(...)
        threaded = SvIV(ST(1));
        if(threaded) {
 #ifdef FUSE_USE_ITHREADS
-               master_interp = PERL_GET_INTERP;
+               master_interp = PERL_GET_CONTEXT;
 #else
                fprintf(stderr,"FUSE warning: Your script has requested multithreaded "
                               "mode, but your perl was not built with -Dusethreads.  "