Re: Patch: avoid hangs on cancelling send queue



Approved

On Wed, 2009-04-01 at 22:55 +0200, José Dapena Paz wrote:
> 	Hi,
> 
> 	This patch avoids some hangs in TnyCamelSendQueue, that could happen
> when we request to cancel in mainloop, but send queue thread is waiting
> for a signal emission to be handled.
> 
> 	The way we fix this is scheduling the cancel operation in the send
> queue thread.
> 
> Changelog entry:
> * libtinymail-camel/tny-camel-send-queue.c,
>   libtinymail-camel/tny-camel-send-queue-priv.h: if queue is
>   running when we cancel, then we request cancel to be done by
>   the send queue thread.
> 
> _______________________________________________
> tinymail-devel-list mailing list
> tinymail-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/tinymail-devel-list
-- 
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]