Should I use stackless python or threads?

Minesh Patel minesh at gmail.com
Fri Mar 6 23:50:51 CET 2009


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
the lock.

-- 
Thanks for the help,
Minesh Patel



More information about the Python-list mailing list