Re: Getting stuck

2012-11-25 Thread Oswald Buddenhagen
On Fri, Nov 23, 2012 at 06:17:47PM -0500, Dave Abrahams wrote: > Well, that was a dismal failure. Any further hints you'd like to give > about what "simple timer support" means, > the main loop (event_wait(), bottom of src/util.c) needs to handle timers as well. use a dynamic array (managed like t

Re: Getting stuck

2012-11-23 Thread Dave Abrahams
on Mon Nov 19 2012, Dave Abrahams wrote: >> patches welcome ... you "only" need to implemement some >> simple timer support in the mainloop, and hook that up with connection >> objects. ^^ > > Thanks, but I think I'm going to stick this functionality in my external > driver (which is in Python),

Re: Getting stuck

2012-11-19 Thread Oswald Buddenhagen
On Mon, Nov 19, 2012 at 03:03:47PM -0500, Dave Abrahams wrote: > on Mon Nov 19 2012, Oswald Buddenhagen wrote: > > will wait for them forever until the connection is reset for some > > reason. > > I don't understand what "reset for some reason" actually means. The > computer does re-connect to

Re: Getting stuck

2012-11-19 Thread Chris Frost
On Mon, Nov 19, 2012 at 03:03:47PM -0500, Dave Abrahams wrote: > > on Mon Nov 19 2012, Oswald Buddenhagen wrote: > > > On Mon, Nov 19, 2012 at 09:35:26AM -0500, Dave Abrahams wrote: > >> One thing I notice sometimes is that after I've suspended and woken my > >> computer an mbsync job will get "

Re: Getting stuck

2012-11-19 Thread Dave Abrahams
on Mon Nov 19 2012, Oswald Buddenhagen wrote: > On Mon, Nov 19, 2012 at 09:35:26AM -0500, Dave Abrahams wrote: >> One thing I notice sometimes is that after I've suspended and woken my >> computer an mbsync job will get "stuck," neither exiting or seeming to >> make any forward progress. Is the

Re: Getting stuck

2012-11-19 Thread Oswald Buddenhagen
On Mon, Nov 19, 2012 at 09:35:26AM -0500, Dave Abrahams wrote: > One thing I notice sometimes is that after I've suspended and woken my > computer an mbsync job will get "stuck," neither exiting or seeming to > make any forward progress. Is there a cure for this other than > monitoring and explici

Getting stuck

2012-11-19 Thread Dave Abrahams
One thing I notice sometimes is that after I've suspended and woken my computer an mbsync job will get "stuck," neither exiting or seeming to make any forward progress. Is there a cure for this other than monitoring and explicitly killing the job? Thanks, -- Dave Abrahams BoostPro Computing