• 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
midi callback thread, offloading processing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

midi callback thread, offloading processing


  • Subject: midi callback thread, offloading processing
  • From: "Alex Sheh" <email@hidden>
  • Date: Mon, 6 Mar 2006 17:09:15 -0800
  • Thread-topic: midi callback thread, offloading processing

Hi all,
My application does somewhat heavy processing in response to the MIDI data it receives via a callback on the high priority callback thread.  I want to move this processing off to a worker thread that consumes MIDI events off of a queue that the callback thread fills up with MIDI data.  What is the recommended mechanism for achieving this in light of certain issues such as queue limits, avoiding underlying dynamic allocation, real-time performance?  For instance, I looked into CFRunLoop, but I do not want to introduce a CFMessagePort on the callback thread for reasons mentioned previously on this list.  Thanks!
 
- Alex
 _______________________________________________
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: Create Aggregate Device
  • Next by Date: [coreAudio] Detecting corrupted files
  • Previous by thread: Create Aggregate Device
  • Next by thread: [coreAudio] Detecting corrupted files
  • Index(es):
    • Date
    • Thread