Re: Thread context of the MIDI notify proc.
Re: Thread context of the MIDI notify proc.
- Subject: Re: Thread context of the MIDI notify proc.
- From: Kurt Revis <email@hidden>
- Date: Thu, 31 Oct 2002 05:22:17 -0800
On Thursday, October 31, 2002, at 04:59 AM, Philippe Wicker wrote:
I need to access and possibly modify complex structures from the UI
thread, and from the MIDI notify proc. I know that callbacks are
ordinarily called in the context of different threads (and therefore
concurrent modifying accesses must be avoided by some mean), but I'm
wandering if it is also true for the MIDI notify proc callback. Can
anyone enlighten me on that point?
MIDIServices.h says (of the MIDINotifyProc):
It is called on the runloop (thread) on which MIDIClientCreate was
first called.
Normally this would be the main (UI) thread of your app, unless you
have special needs.
--
Kurt Revis
email@hidden
_______________________________________________
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.