• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Task dispatching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Task dispatching


  • Subject: Re: Task dispatching
  • From: "email@hidden" <email@hidden>
  • Date: Tue, 13 Sep 2011 22:07:12 +0100

On 13 Sep 2011, at 21:34, Scott Ribe wrote:

> On Sep 13, 2011, at 1:50 PM, Stephen J. Butler wrote:
>
>> Programs like postgres run just fine in OS X and they rely heavily on forking.
>
> Of course, but they don't just fork then continue execution of the same image, which is what was being suggested. They fork and then exec a new image.
>
>

Are you sure about  this?

Looking at the apache mpm pre fork code it looks to me that the child executes the same image.
http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/prefork/prefork.c?view=markup

see make_child (which does the fork) and child_main (which is called in the child after the fork).

Regards

Jonathan Mitchell
Mugginsoft LLP

================================================
KosmicTask - the Integrated Scripting Environment for OS X.
http://www.mugginsoft.com/KosmicTask
================================================_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Task dispatching
      • From: Scott Ribe <email@hidden>
References: 
 >Task dispatching (From: Jon Sigman <email@hidden>)
 >Re: Task dispatching (From: Scott Ribe <email@hidden>)
 >Re: Task dispatching (From: Jon Sigman <email@hidden>)
 >Re: Task dispatching (From: Jens Alfke <email@hidden>)
 >Re: Task dispatching (From: Scott Ribe <email@hidden>)
 >Re: Task dispatching (From: "Stephen J. Butler" <email@hidden>)
 >Re: Task dispatching (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: ikimageview delegate
  • Next by Date: Template images in sidebars drawn in wrong color
  • Previous by thread: Re: Task dispatching
  • Next by thread: Re: Task dispatching
  • Index(es):
    • Date
    • Thread