Re: Patch for the send queue



On Sat, 2008-01-19 at 13:52 +0100, Sergio Villar Senin wrote:
> Sergio Villar Senin wrote:
> > Sergio Villar Senin wrote:
> >> Hi,
> >>
> >> this patch does two things:
> >>    * makes the queue wait until the user finishes the process of the
> >> error_happened notification
> >>    * allows the queue to go on even if the sending of one of the
> >> messages in the outbox failed
> > 
> > Second version of the patch, I missed a couple of strdup's.
> 
> Actually I don't think it's a good idea to wait for the user callback
> because if the user wants to cancel the send queue in the callback we'll
> get a deadlock.

That by itself sounds solvable. Just check whether we are in that state
and solve the deadlock in the cancel. 


-- 
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://pvanhoof.be/blog
http://codeminded.be






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]