[packagekit] Python fork() question

Robin Norwood rnorwood at redhat.com
Mon Mar 3 10:25:35 PST 2008


On Mon, 03 Mar 2008 16:09:50 +0000
Richard Hughes <hughsient at gmail.com> wrote:

> On Mon, 2008-03-03 at 16:46 +0100, Sebastian Heinlein wrote:
> > Could we perhaps use a simple worker which is based on
> > threading.thread?
> 
> If you think you can do better than fork (and I'm a complete novice
> when it comes to all this unix stuff) then feel free to have a play
> and commit on the origin/forked-dbus-backend branch. If it works
> better than rnorwoods fork then we can merge to master.

Yeah, I went with forking because:

a) I'm more familiar with forking than threading
b) I've heard that python's threading implementation leaves a lot to be
desired.

But the proof is in the pudding.  If you wanna have a go, then have at
it.

-RN

-- 
Robin Norwood
Red Hat, Inc.

"The Sage does nothing, yet nothing remains undone."
-Lao Tzu, Te Tao Ching



More information about the PackageKit mailing list