[packagekit] Python fork() question
Sebastian Heinlein
glatzor at ubuntu.com
Mon Mar 3 07:46:41 PST 2008
Am Sonntag, den 02.03.2008, 22:24 +0000 schrieb Richard Hughes:
> On Sat, 2008-03-01 at 22:15 -0500, Robin Norwood wrote:
> > I'm not really sure why it takes so long (1 s?) for the child process
> > to exit...it exits right after calling Finished() - the yum is already
> > unlocked and everything.
>
> I see in ps aux:
>
> root 4804 0.0 0.0 0 0 pts/1 Z+ 22:13 0:00 [PackageKitDbusT] <defunct>
>
> Are we sure we're doing the fork and exit properly? I don't really
> understand all this unis fork() lark!
>
> Richard
Could we perhaps use a simple worker which is based on threading.thread?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20080303/637acb2b/attachment-0004.pgp>
More information about the PackageKit
mailing list