• 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: Sound Manager & MIDI callbacks, interrupts and threads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sound Manager & MIDI callbacks, interrupts and threads


  • Subject: Re: Sound Manager & MIDI callbacks, interrupts and threads
  • From: Laurent de Segur <email@hidden>
  • Date: Tue, 19 Feb 2002 10:26:35 -0800

On Tuesday, February 19, 2002, at 03:04 AM, Andy Robinson wrote:

but is the concept safe? Someone said that it's hard to know whether an
operation is "atomic" - something about single bus transactions.


I am not sure how portable you want you app to be, but as you mentioned disabling interrupts as your fav workaround, I assume that shouldn't matter too much to you.

If this is the case, you should take a look at the Darwin Streaming server, in particular, the section SubProjects/AtomicLib. There, you will find all the details for implementing an atomic queue.The source is available only if you are an ADC member. It's quite easy to use. The atomic operations are written for ppc and this can be adapted to other architectures. The plumbing is the same.

BTW, this project is ultra cool. Check it out if you didn't do that yet.


LdS
_______________________________________________
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: Sound Manager & MIDI callbacks, interrupts and threads (From: Andy Robinson <email@hidden>)

  • Prev by Date: Re: Sound Manager & MIDI callbacks, interrupts and threads
  • Next by Date: Re: coreaudio-api digest, Vol 2 #49 - 10 msgs
  • Previous by thread: Re: Sound Manager & MIDI callbacks, interrupts and threads
  • Next by thread: Re: Sound Manager & MIDI callbacks, interrupts and threads
  • Index(es):
    • Date
    • Thread