Patches: Browse | Submit New | Admin
Multithreaded access to multiple feeds which call item.find_node('media:title') cause an exception. The attached runit test reproduces the exception. My workaround is to use a Mutex to synchronize access to all feedtools calls. feedtools 0.2.26
Add A Comment:
Date: 2007-10-11 04:37 Sender: Sean Geoghegan We could test that you can create two feeds in two separate threads without them stepping on each other.
Date: 2007-10-11 04:10 Sender: Bob Aman I'm inclined to say we should add a test to the test suite to verify that the code behaves as expected in a multi-threaded environment.
Date: 2007-10-11 02:43 Sender: Sean Geoghegan I ran the attached test without any failures, I'm not sure what it is try to show. Either way I think it is better for an application requiring multithreaded access to a feed to do it's own locking instead of adding locking overhead for everyone. I'd close this ticket, if you are happy with that resolution Bob?
Date: 2007-04-21 20:45 Sender: Bob Aman Why do you need threaded access to the same feed / feed entry? Most scenarios I have considered involved multiple threads working on multiple feeds, not multiple threads working on one feed.