• 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: choice of thread API for audio feeder purposes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: choice of thread API for audio feeder purposes


  • Subject: Re: choice of thread API for audio feeder purposes
  • From: Herbie Robinson <email@hidden>
  • Date: Sat, 29 Mar 2003 17:43:15 -0500

At 7:40 PM -0800 3/28/03, Bill Stewart wrote:
Importance is preferred by many rather than directly setting priorites.

Basically a value of zero importance is the value of your main thread.

Positive importance values mean those threads are more important to you than your main thread, negative values that they are less important.

These translate into priority values that are relative to the priority of the main thread, but I keep getting told that this is the wrong way to look at it - so I suspect that there is a desire to move people off setting priorities directly... but rather to establish hierarchies of importance for the different tasks that are run in different threads...

I guess that means that Real-Time threads have a value of infinite (positive) importance:)

It looks like you are making a joke there, but Real-Time threads are (or at least should be) allocating a resource, not specifying a preference. The OS should be keeping track of the real time threads in the system and rejecting new threads if they are asking for more CPU time than is there....
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
References: 
 >Re: choice of thread API for audio feeder purposes (From: Bill Stewart <email@hidden>)

  • Prev by Date: Re: OT: OS X documentation
  • Next by Date: Re: Open times are too long
  • Previous by thread: Re: choice of thread API for audio feeder purposes
  • Next by thread: Re: choice of thread API for audio feeder purposes
  • Index(es):
    • Date
    • Thread