Re: Patch: avoid hangs on cancelling send queue
- From: Philip Van Hoof <spam pvanhoof be>
- To: José Dapena Paz <jdapena igalia com>
- Cc: tinymail-devel-list <tinymail-devel-list gnome org>
- Subject: Re: Patch: avoid hangs on cancelling send queue
- Date: Thu, 02 Apr 2009 11:42:11 +0200
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]