• 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: [coreAudio] Detecting corrupted files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coreAudio] Detecting corrupted files


  • Subject: Re: [coreAudio] Detecting corrupted files
  • From: lazzaro <email@hidden>
  • Date: Wed, 8 Mar 2006 18:45:11 -0800


On Mar 8, 2006, at 6:10 PM, Alexander von Below wrote:

I know this may be a little off-list, but would using a pthread be an alternative?


Yes, threads will work too ... processes are safer, though,
because the process model sand-boxes any bugs that may
be present in the child's code to the virtual memory space
of the child -- not true of threads sharing a common address
space.  For the same reason, I tend to use UNIX sockets to
communicate between processes instead of shared
memory whenever feasible -- that way there is no way for
one process to touch another's memory space.

---
John Lazzaro
http://www.cs.berkeley.edu/~lazzaro
lazzaro [at] cs [dot] berkeley [dot] edu
---


_______________________________________________ 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: 
 >Re: [coreAudio] Detecting corrupted files (From: lazzaro <email@hidden>)
 >Re: [coreAudio] Detecting corrupted files (From: Alexander von Below <email@hidden>)

  • Prev by Date: Re: [coreAudio] Detecting corrupted files
  • Next by Date: Re: AUInstrumentBase
  • Previous by thread: Re: [coreAudio] Detecting corrupted files
  • Next by thread: Re: [coreAudio] Detecting corrupted files
  • Index(es):
    • Date
    • Thread