Re: [PATCH] filesystem: added cancellation support
- From: "Juan A." Suárez Romero <jasuarez igalia com>
- To: grilo-list gnome org
- Subject: Re: [PATCH] filesystem: added cancellation support
- Date: Mon, 31 Jan 2011 13:52:40 +0100
On Fri, 2011-01-28 at 13:22 +0100, Guillaume Emont wrote:
> For search, this is done easily by passing a GCancellable to GIO
> calls.
> Since browse does not use GIO's async API, the only useful thing to do
> (assuming an operation cannot be cancelled from another thread), is to
> check if
> the operation has been cancelled at the start of browse_emit_idle(),
> which is
> when the browse operation continues execution in the only cases where
> it had
> delayed some of its execution.
Providing that the TODOs/FIXMEs are not specially critical and will be
fixed later, I've pushed the patch.
J.A.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]