Should I use stackless python or threads?
exarkun at divmod.com
Sat Mar 7 00:16:40 CET 2009
On Fri, 6 Mar 2009 14:50:51 -0800, Minesh Patel <minesh at gmail.com> wrote:
>I am trying to figure out the best approach to solve this problem:
>I want to poll various directories(can be run in the main thread).
>Once I notice a file has been added to any directory, I grab a lock,
>spawn a thread to go perform the necessary actions, and then release
That's not a description of a problem. That's a description of a
potential solution. What problem are you trying to solve?
>Thanks for the help,
More information about the Python-list