[Adium-devl] rev 19069 - in branches/adium-1.0/Plugins/Gaim Service: . Libgaim.framework/Versions/A/Headers
Evan Schoenberg
evan at adiumx.com
Sun Feb 25 19:41:29 UTC 2007
On Feb 25, 2007, at 9:35 AM, Graham Booker wrote:
> 3) The parent calls wait when the child exist.
>
> I suggest we do number 3 here. Unlike the DNS lookups, we know
> exactly when the child exist. The DNS lookups re-use the children
> to do more lookups later, so the exact time of the child's death is
> not known, but here, one lookup is done, and then child sends its
> data, cleans up its memory, then exits. The parent then proceeds
> to read all its data. If the parent simply calls wait at this
> point, it will catch the child's death. It would need to store the
> pid in the _GaimSrvQueryData struct or something, so it can call
> waitpid and make sure it gets the correct one. I could code this
> up pretty quickly this afternoon if you like.
That sounds like a good solution to me, Graham. If you'll send me a
patch, I'll take a look and commit it upstream. We can then remove
our zombie killer entirely - woot. :)
-Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070225/7ff91bbd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070225/7ff91bbd/attachment.sig>
More information about the devel
mailing list