Re: waitpid() does not wait for process exit
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=4QtPOCCSLrwmYMa7X6vfId8y9c5h0DNqwvzc9GWH/Sk=; b=ItE+G47ORWJSF/0J5pnge7g6CqI4wKhzuOqb/jlRc/LSGwIq9lAnaaL890n3NyM7o/ cI4WlVHQf5iVHHNWKDvmLczxPxFeSPFsFVCT5XjyRvtoeYI2FOqp45p6FCTaVPK9zM7H 1jwAcZW1GQKO5N2u+JwREh8ZkLLqPkJeI/3qI= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=LDrPbxxRjwXDAS41RxM5yhFRIO3K8WOFKCCBDdOV0ukxKMvHjpEW4PbsdvdFSGUM7j G7B4C/+uvy5+ihB3td6sOD3GOm2Zg9JsBDj7+tC5/4SLudjBBZhk9jBXYDFM/HomZJSw 6tyFs8gsw7b5wyyTIdn8Vyqdf1PrLvRStfbkg= A quick guess: perhaps your parent process has elected for the kernel to automatically reap child processes, via a call similar to: signal(SIGCHLD, SIG_IGN); I would expect the behavior you describe from waitpid() if the above functionality is enabled. See http://en.wikipedia.org/wiki/SIGCHLD. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Dave Keck