[prev in list] [next in list] [prev in thread] [next in thread]
List: fuse-devel
Subject: [fuse-devel] More SIGINT/SIGTERM issues
From: Hans_Beckérus <hans.beckerus () gmail ! com>
Date: 2011-06-17 5:59:22
Message-ID: 4DFAED3A.1050908 () gmail ! com
[Download RAW message or body]
I do not know if I am trying some conceptually wrong here but this is
what I do.
From my main process I create a thread. From that thread I call
fuse_main().
So far so god and the file system works as expected.
But, when I try to issue a SIGINT/SIGTERM to the process the event loop
does not exit.
I also tried to implement my own SIGINT handler from within the thread
and verified that it is called properly.
In this handler I call fuse_exit() using a global fuse object handle.
But still the event loop does not stop.
Is there some context problem when having fuse executed in a thread of
its own and fuse_exit is called from
the main process ? I did not expect that. If fuse_main() is called from
the main process SIGINT works as expected.
Hans
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
fuse-devel mailing list
fuse-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic