• 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: Thread context of the MIDI notify proc.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Thread context of the MIDI notify proc. (From: Philippe Wicker <email@hidden>)

  • Prev by Date: Re: Stuck MIDI notes
  • Next by Date: Re: Stuck MIDI notes
  • Previous by thread: Thread context of the MIDI notify proc.
  • Next by thread: ANN: Rax 0.2b
  • Index(es):
    • Date
    • Thread