From: Csaba H. <csa...@cr...> - 2009-07-20 01:11:28
|
On 2009-07-15, Sreejith K <sre...@gm...> wrote: > I'm using a threadpool to handle some jobs in my FUSE filesystem. I'm using > the a modified implementation of this threadpool. > http://code.activestate.com/recipes/203871/ > When I run my fuse filesystem without debug option (-d) the tasks are not > even executed. But when run with the debug option the tasks are taken care > of. Why this is happening ? I defined the threadpool instances (contain a > single thread only) globally as to use them both in the Fuse main class and > FileClass. See this (referred to also by Nikolaus): http://thread.gmane.org/gmane.comp.file-systems.fuse.devel/7902 Python threading is a weird beast... I'm not a master of the Python C API and I don't have now the resources (time-wise) to figure it out why it shows such a behaviour :( Csaba |