[packagekit] Segfault

Grzegorz Dąbrowski gdx at o2.pl
Thu Nov 8 10:48:23 PST 2007


On Tue, 2007-11-06 at 07:54 +0000, Richard Hughes wrote:
> On Tue, 2007-11-06 at 07:34 +0000, Richard Hughes wrote:
> > It's probably also a good idea to not call Cancel in the GUI tools if we
> > know we can't support it. I'll do this now.
> 
> Actually, I'm not undecided. If the backend can't Cancel, should the
> PkClient "emulate" the cancel? i.e. ignore all output from the deamon
> from that tid, and emit a finished canceled signal?
> 
> This would mean the thread is still running in the daemon, but the
> client tools would all do the right thing without lots of if
> (cancel_supported) calls.
> 
> Ideas?

It make sense only for searching operation. The problem is when you try
to cancel e.g. package installation. We need to interrupt a thread but I
don't know how.

-- 
Grzegorz Dąbrowski <gdx at o2.pl>




More information about the PackageKit mailing list