• 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: NSTask and Processor Overloads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask and Processor Overloads


  • Subject: Re: NSTask and Processor Overloads
  • From: Dominic Feira <email@hidden>
  • Date: Tue, 3 May 2005 15:29:49 -0400


On May 3, 2005, at 3:07 PM, email@hidden wrote:

Message: 5

Date: Tue, 3 May 2005 03:03:32 +0200

From: Berend Schmid <email@hidden>

Subject: NSTask and Processor Overloads

To: email@hidden

Message-ID: <email@hidden">email@hidden>

Content-Type: text/plain; charset="us-ascii"


Hi!


I have got an audio recording application based on CoreAudio.

I would like to launch a NSTask from within my application but nearly 

everytime my NSTask gets launched there are audio dropouts and I get a 

processor overload (kAudioDeviceProcessorOverload) notification.


I'm afraid that it isn't possible to eliminate the possibility of this happening.  The VM paging thread is the highest priority thread in the system.  So, when you launch an NSTask it is possible for the system to page and interrupt your Core Audio threads.  That said, I have never had this problem.  You must already be pushing your machine pretty hard when you launch the NSTask for this to happen.

Is it possible to launch the task with a lower priority or is there any 

other option for not overloading the processor when launching the task?


Not that I know of.

Dominic Feira / Code Monkey / Ambrosia Software, Inc.

 _______________________________________________
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

  • Prev by Date: Audio Files and Tiger - New Functionality
  • Next by Date: Re: Audio Files and Tiger - New Functionality
  • Previous by thread: NSTask and Processor Overloads
  • Next by thread: Open Sound Control
  • Index(es):
    • Date
    • Thread