midi callback thread, offloading processing
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