From: ara.t.howard@... Date: 2006-09-28T04:52:21+09:00 Subject: Re: Threading and Deadlock On Thu, 28 Sep 2006, Jordan McKible wrote: > Francis Cianfrocca wrote: >> On 9/27/06, Jordan McKible wrote: >>> nonrelevant parts. >> I'm seeing multiple problems in this code. #fill and #crawl don't appear >> to >> have loops. > > ah, the loop, of course! The fill and crawl should be wrapped in loop do > {}, correct? > > >> #fill contains a statement that can sleep for multiple >> minutes >> holding a mutex lock, but fortunately appears not to be reachable. > > This is by design - in order to not be constantly retrieving feeds (that > seems a little exessive for a feed reader) I want to have a break > between refills even if true - consider that you are effectively re-writing Queue to accomplish your task. using the built-in Queue class will greatly simply your goal. fyi. -a -- in order to be effective truth must penetrate like an arrow - and that is likely to hurt. -- wei wu wei