• 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: GDB: Does "catch vfork" work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDB: Does "catch vfork" work?


  • Subject: Re: GDB: Does "catch vfork" work?
  • From: Daniel Jalkut <email@hidden>
  • Date: Sun, 09 Oct 2005 11:20:46 -0400


On Oct 9, 2005, at 11:07 AM, Justin C. Walker wrote:


This was a "hack" made at a time when copy-on-write had either not been invented, or was not possible on much of the hardware (i.e., pdp-11's) in use. The intent was to speed up the typical fork()/ exec() sequence by avoiding the copy of the process space.


Maybe you can explain the reasoning behind what SystemUIServer seems to be doing when a screen capture occurs. It vforks, then from the parent (I'm in gdb observing that vfork has returned 0), it immediately forks. It's like a double-fork-wammy. Any idea what the purpose of that might be?

Daniel

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: GDB: Does "catch vfork" work?
      • From: "Justin C. Walker" <email@hidden>
References: 
 >GDB: Does "catch vfork" work? (From: Daniel Jalkut <email@hidden>)
 >Re: GDB: Does "catch vfork" work? (From: Damien Bobillot <email@hidden>)
 >Re: GDB: Does "catch vfork" work? (From: Daniel Jalkut <email@hidden>)
 >Re: GDB: Does "catch vfork" work? (From: Damien Bobillot <email@hidden>)
 >Re: GDB: Does "catch vfork" work? (From: Jim Correia <email@hidden>)
 >Re: GDB: Does "catch vfork" work? (From: "Justin C. Walker" <email@hidden>)

  • Prev by Date: Re: GDB: Does "catch vfork" work?
  • Next by Date: Re: [SOLVED] C++ in a Cocoa App - How Hard is THAT?
  • Previous by thread: Re: GDB: Does "catch vfork" work?
  • Next by thread: Re: GDB: Does "catch vfork" work?
  • Index(es):
    • Date
    • Thread