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:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=G5y2oGixw3P9njTG33vpb6RbfVmTb54KpDEtL1EqbZ8=; b=pSw5Btd54gExOF4PvlblAuIp5K2QEVZcac3mKQfobZTr+20dz8G1jxI7DCwmYE0xbHy+jqwA9yF5t95pDuLG8UsAAVP0xQNv75rAU8JmRkdF+Xdfso3tcbtgK1Bvamk5hNOdC/9AUcYN7HgkYin//OF3dJTDraMAhDutmSR0N9Q= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=K3FJUYFWmQ0WWVcZKpsrsE8b8ILtki6vUnLXvDVtYSzIHksNMjB6cMkCvq+eB7Lr5xk0xPxkYFhOq3QRovjercGNYPIMCms6KHQHuIP/YFeL92n3h8De886+x0tOgll14fowRkPSaqkmc9IXmlHjPu6kjRQDdK+GpS4Egw1GHLs= On 1/28/08, Steve Checkoway <s@pahtak.org> wrote:
On Jan 27, 2008, at 7:23 PM, Jordan K. Hubbard wrote:
In another couple of releases, posix_spawn(2) will also hopefully be far enough in our rear view mirrors that developers can standardize on it.
I've been curious, what are the advantages to using posix_spawn(2) instead of fork(2) + execve(2)?
One main benefit, as I see it, is that posix_spawn avoids the address space duplication implied by fork, which can be quite a time-waster when all you're going to do is blow that space away with an exec. -- Clark S. Cox III clarkcox3@gmail.com _______________________________________________ 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