• 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: __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__


  • Subject: Re: __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 5 Apr 2009 14:16:22 -0700


On Apr 5, 2009, at 12:46 PM, Ashley Allen wrote:

I am forking a process from a cgi-script to convert a .caff file into an aiff file and mp3.

You can't fork a process that's going to use any Mac APIs. The fundamental reason for this, I think, is that forking doesn't copy the Mach ports, so none of the process's connections to the various kernel resources and system daemons/agents will work right.


As David said, the only thing you can call after fork() is exec(), to start all over again.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

This email sent to email@hidden

References: 
 >__THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__ (From: Ashley Allen <email@hidden>)

  • Prev by Date: Re: RemoteIO unit at beginning and end of an AUGraph
  • Next by Date: Re: Newbie questions
  • Previous by thread: Re: __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__
  • Next by thread: ultra low latency AD interface for visualization purposes
  • Index(es):
    • Date
    • Thread